refactor: Enable tree shaking in esbuild configuration for optimized bundle size

This commit is contained in:
Nawaz Dhandala
2026-02-14 19:42:53 +00:00
parent 83a13635cf
commit b0a3f8d60f

View File

@@ -214,6 +214,7 @@ function createConfig(options) {
target: 'es2017',
sourcemap: isDev ? 'inline' : false,
minify: false,
treeShaking: true,
splitting: true,
publicPath,
define: {