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

fix(pglite/tools): add node imports to the package.json browser excludes #444

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

samwillis
Copy link
Collaborator

Next.js, and other bundlers, inspects the browser option in package.json to decide what to exclude from a browser bundle. This odds the node fs apis so that it doesnt try and bundle them for the browser.

Copy link
Contributor

@samwillis samwillis merged commit 17c9875 into main Nov 27, 2024
7 checks passed
@samwillis samwillis deleted the samwillis/fix-next-packaging branch November 27, 2024 11:11
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.

2 participants