diff --git a/src/elements-experimental/vite.config.ts b/src/elements-experimental/vite.config.ts index 03aed7883a..eb387561ca 100644 --- a/src/elements-experimental/vite.config.ts +++ b/src/elements-experimental/vite.config.ts @@ -46,7 +46,6 @@ export default defineConfig((config) => ] : []), ], - esbuild: isProdBuild(config) ? { mangleProps: /^_/ } : {}, build: { cssMinify: isProdBuild(config), lib: { diff --git a/src/elements/vite.config.ts b/src/elements/vite.config.ts index 4518ae1c52..255e692e61 100644 --- a/src/elements/vite.config.ts +++ b/src/elements/vite.config.ts @@ -78,7 +78,6 @@ export default defineConfig((config) => ] : []), ], - esbuild: isProdBuild(config) ? { mangleProps: /^_/ } : {}, build: { cssMinify: isProdBuild(config), lib: {