Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rollup config to target workerd and browsers #41

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

Amar-Gill
Copy link
Contributor

Update rollup.config to target browsers / CF workers runtime. This was copied from the deprecated https:/PropelAuth/cloudflare-worker/blob/main/rollup.config.js package.

I tested this by installing my forked version of the package in my app and deploying it to CF pages. I was able to initialize the auth library on backend as required.

Without these changes I got the following error:

Error initializing auth library. Unable to import public key

Copy link
Contributor

@pfvatterott pfvatterott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested. LGTM!

@andrew-propelauth andrew-propelauth merged commit 41b659c into PropelAuth:main Jun 4, 2024
@Amar-Gill Amar-Gill deleted the fix-cf-pages branch June 8, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants