diff --git a/src/static/esbuild.mjs b/src/static/esbuild.mjs index 326a3fb..95be10f 100755 --- a/src/static/esbuild.mjs +++ b/src/static/esbuild.mjs @@ -43,6 +43,7 @@ function hash_file(hashName, path) { bundle: true, minify: true, sourcemap: true, + treeShaking: true, loader: { ".html": "text", ".svg": "file",