mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor: Enable tree shaking in esbuild configuration for optimized bundle size
This commit is contained in:
@@ -214,6 +214,7 @@ function createConfig(options) {
|
||||
target: 'es2017',
|
||||
sourcemap: isDev ? 'inline' : false,
|
||||
minify: false,
|
||||
treeShaking: true,
|
||||
splitting: true,
|
||||
publicPath,
|
||||
define: {
|
||||
|
||||
Reference in New Issue
Block a user