We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14c7f91 commit 0da1863Copy full SHA for 0da1863
website/package.json
@@ -30,7 +30,7 @@
30
"css-postcss": "postcss --use autoprefixer --output css/main.css css/main.css",
31
"css-watch": "npm run css-build -- --watch",
32
"deploy": "npm run css-deploy && npm run js-build",
33
- "deploy:prod": "npm run css-deploy && npm run js-build && npx minify-all-cli -s ./ -d ./ --skipFileExtensions=.mp3 --skipFileExtensions=.mp4 --logLevel=warn",
+ "deploy:prod": "npm run css-deploy && npm run js-build && npx html-minifier --input-dir ./ --output-dir ./ --file-ext html --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true ./index.html",
34
"js-build": "babel _javascript --out-dir lib",
35
"js-watch": "npm run js-build -- --watch",
36
"start": "npm-run-all --parallel css-watch js-watch"
0 commit comments