support for sourcemaps in browser code (#5451)

changed from 'eval' to 'cheap-module-eval-source-map' to 
generate source map of the original code instead of transpiled code.
This commit is contained in:
Kanagaraj M 2018-01-29 12:20:40 +05:30 committed by Harshavardhana
parent 0da377f3e9
commit 76be54551f
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
"description": "Minio Browser",
"scripts": {
"test": "karma start",
"dev": "NODE_ENV=dev webpack-dev-server --devtool eval --progress --colors --hot --content-base dev",
"dev": "NODE_ENV=dev webpack-dev-server --devtool cheap-module-eval-source-map --progress --colors --hot --content-base dev",
"build": "NODE_ENV=dev node build.js",
"release": "NODE_ENV=production MINIO_UI_BUILD=RELEASE node build.js",
"format": "esformatter -i 'app/**/*.js'"