mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-24 09:25:53 +02:00
Enable JS minification in prod.
This commit is contained in:
parent
988b801dff
commit
70cbe07040
|
@ -109,6 +109,7 @@ async function bundleJS(inputDir, outputDir, watch) {
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
outdir: outputDir,
|
outdir: outputDir,
|
||||||
logLevel: "debug",
|
logLevel: "debug",
|
||||||
|
minify: !watch,
|
||||||
});
|
});
|
||||||
if (!watch) {
|
if (!watch) {
|
||||||
await buildContext.rebuild();
|
await buildContext.rebuild();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user