Skip to content

Commit 0da1863

Browse files
committed
Update package.json
1 parent 14c7f91 commit 0da1863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"css-postcss": "postcss --use autoprefixer --output css/main.css css/main.css",
3131
"css-watch": "npm run css-build -- --watch",
3232
"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",
33+
"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",
3434
"js-build": "babel _javascript --out-dir lib",
3535
"js-watch": "npm run js-build -- --watch",
3636
"start": "npm-run-all --parallel css-watch js-watch"

0 commit comments

Comments
 (0)