-
Notifications
You must be signed in to change notification settings - Fork 226
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
Invalid FS bundle size #409
Comments
I'm getting this as well from following the getting started instructions(yarn) |
solution(for me at least): https://discord.com/channels/933657521581858818/934234468514922567/1301530280212828221 |
I use quasar so I had to apply this in my quasar.conf.js: extendViteConf(viteConf) {
// Extend the Vite configuration to exclude dependencies from optimization
viteConf.optimizeDeps = {
...viteConf.optimizeDeps,
exclude: ['@electric-sql/pglite'], // replace 'some-library' with the module you want to exclude
}
// Optional: Exclude from Rollup build as well
viteConf.build = {
...viteConf.build,
rollupOptions: {
...viteConf.build?.rollupOptions,
external: ['@electric-sql/pglite'], // ensure that Rollup does not bundle this module
},
}
}, |
related docs: https://pglite.dev/docs/bundler-support |
Hi, using pglite via |
I cleared the web browser cache (FF in my case) and the error is gone. |
HI everyone,
I'm trying to use electric-sql without the need of using cdn and I got this error while I'm loading the db:
I'm using a bundled version (electric-sql-bundle.js) created with esbuild
this is the code of the esbuild
const esbuild = require('esbuild');
Probably i did something wrong but i dont find any kind of documentation related to this.
If I did something wrong in the bug report im sorry
The text was updated successfully, but these errors were encountered: