From 53c43fe830dcb4d19eb1353cb9294103692a6ac6 Mon Sep 17 00:00:00 2001 From: Carter Smithhart Date: Fri, 6 Oct 2023 12:49:40 -0700 Subject: [PATCH] Attempted workaround for https://github.com/vitejs/vite/issues/10506 but it doesn't solve the issue. --- vite.config.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 37b6a84..0e7bc98 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,5 +5,18 @@ export default defineConfig({ plugins: [sveltekit()], test: { 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 + } } });