Skip to content

Embed data file - #1131

Draft
tdrz wants to merge 3 commits into
mainfrom
tdrz/fe-embeddDataFile
Draft

tdrz wants to merge 3 commits into
mainfrom
tdrz/fe-embeddDataFile

Conversation

@tdrz

@tdrz tdrz commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

We are using emscripten's --preload-file to create a FS bundle which leads to the pglite.data being created. An alternative is to use --embed-file instead which packages the files data into pglite.js. This can help with some bundlers.

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

This branch has not been deployed

No deployments
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.

1 participant