Use uglify-js v3
This commit is contained in:
parent
9371a87748
commit
d7817a7279
27 changed files with 67 additions and 7226 deletions
|
@ -34,7 +34,8 @@
|
|||
"copy-dist": "cp ./node_modules/mapbox-gl/dist/mapbox-gl.css ./public/assets/frontend/ && cp ./node_modules/alertify.js/dist/css/alertify.css ./public/assets/frontend/ && cp ./node_modules/normalize.css/normalize.css ./public/assets/frontend/",
|
||||
"lint:sass": "stylelint --syntax=scss resources/assets/sass/**/*.scss",
|
||||
"lint:es6": "eslint resources/assets/es6/*.js",
|
||||
"uglifyjs": "for f in ./public/assets/js/*.js; do uglifyjs $f --screw-ie8 --in-source-map $f.map --source-map $f.map --source-map-url /assets/js/`basename $f`.map --output $f; done"
|
||||
"uglifyjs": "./uglifyjs",
|
||||
"webpack": "./node_modules/.bin/webpack --progress --colors"
|
||||
},
|
||||
"lint-staged": {
|
||||
"resources/assets/es6/*.js": "eslint",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue