From 4d45bd55d656dbbc8813fc0ced771d991557ed58 Mon Sep 17 00:00:00 2001 From: Lukas Spirig Date: Fri, 14 Jun 2024 12:25:54 +0200 Subject: [PATCH] Revert "build: mangle private properties in prod build to reduce size (#2727)" This reverts commit bf4de71dc5a37c134b3f039ca574a62b6ef64c74. --- src/elements-experimental/vite.config.ts | 1 - src/elements/vite.config.ts | 1 - 2 files changed, 2 deletions(-) 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: {