-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi team,
While building the React app with Vite, I am getting this weird error,
error during build:
RollupError: [commonjs--resolver] Could not resolve entry module "../../node_modules/.pnpm/@magieno+sqlite-client@3.45.1-build5-with-extension-support/node_modules/@magieno/sqlite-client/dist/bundle/sqlite3-opfs-async-proxy.js".
Here is my vite.config.ts
export default defineConfig({
server: {
https: true,
port: 5273,
headers: {
'Cross-Origin-Opener-Policy': 'same-origin',
'Cross-Origin-Embedder-Policy': 'require-corp',
},
},
optimizeDeps: {
exclude: ['@sqlite.org/sqlite-wasm'],
},
})
Do you have any how to solve it?
Thanks
Metadata
Metadata
Assignees
Labels
No labels