diff --git a/nuxt.config.ts b/nuxt.config.ts index 767c989..4eb2656 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -18,14 +18,12 @@ export default defineNuxtConfig({ nitro: { experimental: { wasm: true - }, - externals: { - inline: ['better-sqlite3'], - external: ['path', 'fs', 'crypto', 'bcryptjs'] - }, - rollupConfig: { - output: { - sourcemap: false + } + }, + vite: { + build: { + rollupOptions: { + external: ['better-sqlite3', 'path', 'fs', 'crypto', 'bcryptjs'] } } },