From 0af8cc2a32fb8f2227a418c3073f725e4da6d2f9 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 10 Mar 2022 02:49:41 +0000 Subject: [PATCH] esbuild: force-enable tree shaking, just in case --- src/static/esbuild.mjs | 1 + 1 file changed, 1 insertion(+) 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",