preserve function names in production builds

adds only 162kb gzipped/450k unzipped to the bundle
This commit is contained in:
Josh Hawkins
2026-08-04 11:12:13 -05:00
parent 1f0994dfc8
commit c717efa67e
+3
View File
@@ -37,6 +37,9 @@ export default defineConfig({
}, },
}, },
}, },
esbuild: {
keepNames: true,
},
build: { build: {
rollupOptions: { rollupOptions: {
input: { input: {