We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8457bac commit 01a61a9Copy full SHA for 01a61a9
dashboard/.gitignore
@@ -0,0 +1 @@
1
+dashboard3.min.*
dashboard/assets/dashboard3/Makefile
@@ -1,4 +1,10 @@
-all: dashboard
+all: dashboard minify
2
3
dashboard: Dashboard.hx
4
haxe -main Dashboard -D analyzer-optimize -dce full -D js-es=6 -js dashboard3.js
5
+
6
+minify: dashboard3.js dashboard3.css ../../dashboard3.html
7
+# npm i -g terser csso-cli html-minifier-next
8
+ terser dashboard3.js -c -m --ecma 2015 -o dashboard3.min.js
9
+ csso dashboard3.css -o dashboard3.min.css
10
+ html-minifier-next --collapse-whitespace --minify-js true ../../dashboard3.html -o ../../dashboard3.min.html
0 commit comments