mirror of https://github.com/minio/minio.git
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:
parent
0da377f3e9
commit
76be54551f
|
@ -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'"
|
||||
|
|
Loading…
Reference in New Issue