3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

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

@ -2416,6 +2416,16 @@
"sha.js": "^2.4.8"
}
},
"cross-env": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-5.2.0.tgz",
"integrity": "sha512-jtdNFfFW1hB7sMhr/H6rW1Z45LFqyI431m3qU6bFXcQ3Eh7LtBuG3h74o7ohHZ3crrRkkqHlo4jYHFPcjroANg==",
"dev": true,
"requires": {
"cross-spawn": "^6.0.5",
"is-windows": "^1.0.0"
}
},
"cross-spawn": {
"version": "6.0.5",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",

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"