From 4d572201d1d9a38a0ee8e7885d7a459697d8e673 Mon Sep 17 00:00:00 2001 From: David Sheldrick Date: Thu, 20 Jun 2024 09:51:08 +0100 Subject: [PATCH] turn off minify for release bundle --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index c3885d2..da0bd1c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -8,6 +8,7 @@ const entry = join(dirname(fileURLToPath(import.meta.url)), './src/index.ts'); export default defineConfig({ plugins: [dts()], build: { + minify: false, lib: { entry, formats: ["es"],