Dashboard: disable source maps in prod builds, add debug build with source maps and no minification

This commit is contained in:
Dragory 2019-07-29 22:57:58 +03:00
parent c5c0ed55d0
commit a45d2965e9
2 changed files with 13 additions and 1 deletions

View file

@ -4,7 +4,8 @@
"description": "",
"private": true,
"scripts": {
"build": "rimraf dist && parcel build src/index.html --out-dir dist",
"build": "rimraf dist && parcel build src/index.html --no-source-maps --out-dir dist",
"build-debug": "rimraf dist && cross-env NODE_ENV=development parcel build src/index.html --no-minify --out-dir dist",
"watch": "parcel src/index.html"
},
"devDependencies": {
@ -12,6 +13,7 @@
"babel-core": "^6.26.3",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"cross-env": "^5.2.0",
"parcel-bundler": "^1.12.3",
"sass": "^1.21.0",
"vue-template-compiler": "^2.6.10"