mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 12:40:24 +03:00
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:
committed by
Harshavardhana
parent
0da377f3e9
commit
76be54551f
@@ -4,7 +4,7 @@
|
|||||||
"description": "Minio Browser",
|
"description": "Minio Browser",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "karma start",
|
"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",
|
"build": "NODE_ENV=dev node build.js",
|
||||||
"release": "NODE_ENV=production MINIO_UI_BUILD=RELEASE node build.js",
|
"release": "NODE_ENV=production MINIO_UI_BUILD=RELEASE node build.js",
|
||||||
"format": "esformatter -i 'app/**/*.js'"
|
"format": "esformatter -i 'app/**/*.js'"
|
||||||
|
|||||||
Reference in New Issue
Block a user