Add source-maps to js
This commit is contained in:
parent
4f87dc309e
commit
a56017f0ec
17 changed files with 13 additions and 5 deletions
|
@ -34,7 +34,7 @@
|
|||
"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 --output $f; done"
|
||||
"uglifyjs": "for f in ./public/assets/js/*.js; do uglifyjs $f --screw-ie8 --source-map $f.map --output $f; done"
|
||||
},
|
||||
"lint-staged": {
|
||||
"eslint-staged": "resources/assets/es6/*.js",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue