Gradle: Run Snowpack with optimization enabled.

Change-Id: I9c39ae148c785e08b00cd32f07f1dc6a3fb09d7a
diff --git a/build.gradle b/build.gradle
index 79aaad5..6274531 100644
--- a/build.gradle
+++ b/build.gradle
@@ -126,7 +126,7 @@
   outputs.dir "${resourceDir}/web_modules"
 
   workingDir resourceDir
-  commandLine "yarn", "run", "snowpack"
+  commandLine "yarn", "run", "snowpack", "--optimize"
 }
 
 task compileWeb {