mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-11 04:45:02 +00:00
Dashboard: disable source maps in prod builds, add debug build with source maps and no minification
This commit is contained in:
parent
c5c0ed55d0
commit
a45d2965e9
2 changed files with 13 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue