diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-04-01 18:01:52 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-04-01 18:01:52 -0400 |
| commit | 15d48d4e910ec30746233599c3a577e8c3be0581 (patch) | |
| tree | 79b3521fa7646e0f1ebb5715a1e04de33984f209 /src/frontend | |
| parent | 06070a820f5a92c2671242b044cec5f6b3dacff5 (diff) | |
| download | xesite-15d48d4e910ec30746233599c3a577e8c3be0581.tar.xz xesite-15d48d4e910ec30746233599c3a577e8c3be0581.zip | |
minify esbuild JS
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'src/frontend')
| -rw-r--r-- | src/frontend/build.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/build.ts b/src/frontend/build.ts index 70c8b2b..b9d0d6e 100644 --- a/src/frontend/build.ts +++ b/src/frontend/build.ts @@ -16,7 +16,7 @@ const result = await esbuild.build({ bundle: true, splitting: true, format: "esm", - //minifyWhitespace: true, + minifyWhitespace: !!Deno.env.get("MINIFY"), inject: ["xeact"], jsxFactory: "h", }); |
