summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-15 18:39:51 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-15 18:39:51 +0100
commit96a28ef9b9ba9a0187a189c8a2167f1bd65c1e91 (patch)
tree1bbe17a044656fdc91c85319e454b69ebd475625
parentc53029758317729136e47fba4a43880b2e77c142 (diff)
Gradle: Run Snowpack with optimization enabled.
Change-Id: I9c39ae148c785e08b00cd32f07f1dc6a3fb09d7a
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 79aaad5..6274531 100644
--- a/build.gradle
+++ b/build.gradle
@@ -126,7 +126,7 @@ task snowpack(type:Exec) {
outputs.dir "${resourceDir}/web_modules"
workingDir resourceDir
- commandLine "yarn", "run", "snowpack"
+ commandLine "yarn", "run", "snowpack", "--optimize"
}
task compileWeb {