This commit is contained in:
David Nguyen
2025-02-05 01:29:26 +11:00
parent f4b2f8614e
commit 6b4c33a1bf
67 changed files with 31 additions and 156 deletions

View File

@ -54,23 +54,14 @@ export default defineConfig({
],
optimizeDeps: {
exclude: ['superjson'],
force: true,
// force: true,
},
build: {
commonjsOptions: {
include: ['superjson'],
},
rollupOptions: {
external: ['@node-rs/bcrypt'],
},
},
// optimizeDeps: {
// exclude: [
// '@node-rs/bcrypt-wasm32-wasi',
// '@noble/ciphers/chacha',
// '@noble/ciphers/utils',
// '@noble/ciphers/webcrypto/utils',
// '@noble/hashes/sha256a',
// 'crypto',
// '@node-rs/bcrypt',
// ], // Todo: Probably remove.
// force: true,
// },
});