From 2e114b91b1618653ccedd227fef94b05d7767cfe Mon Sep 17 00:00:00 2001 From: Dawid Sowa Date: Tue, 14 Nov 2023 15:59:39 +0100 Subject: [PATCH] fix: force prod build for `immer` --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index dd7f0cef..b5052d73 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -11,4 +11,5 @@ export default defineConfig({ external: /^lit/, }, }, + define: { 'process.env.NODE_ENV': '"production"' }, })