diff --git a/vite.config.ts b/vite.config.ts index 0e7bc98..6c05a44 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,16 +7,24 @@ export default defineConfig({ include: ['src/**/*.{test,spec}.{js,ts}'] }, build: { - rollupOptions: { - // Trying potential workaround for - // https://github.com/vitejs/vite/issues/10506 - // - // Still fails with: - // npm run build - // mv build build1 - // npm run build - // diff -qr build build1 - maxParallelFileOps: 1 + //rollupOptions: { + // Trying potential workaround for + // https://github.com/vitejs/vite/issues/10506 + // + // Still fails with: + // npm run build + // mv build build1 + // npm run build + // diff -qr build build1 + // + //maxParallelFileOps: 1 + //} + // Trying workaround from + // https://github.com/vitejs/vite/issues/13672#issuecomment-1784110536 + // + // Still fails using test + commonjsOptions: { + strictRequires: true } } });