mirror of https://github.com/prometheus/prometheus
Set SourceMap to false to fix UI in MCR builds (#12175)
* Set sourceMap to false Signed-off-by: Alison Burgess <alburgess@microsoft.com> * add sourcemap=false to package.json build Signed-off-by: Alison Burgess <alburgess@microsoft.com> * set sourcemap to true in tsconfig Signed-off-by: Alison Burgess <alburgess@microsoft.com> --------- Signed-off-by: Alison Burgess <alburgess@microsoft.com> Co-authored-by: Alison Burgess <alburgess@microsoft.com>pull/12184/head
parent
edc8e75c40
commit
3ac49d4ae2
|
@ -2,7 +2,7 @@
|
||||||
"name": "prometheus-io",
|
"name": "prometheus-io",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "bash build_ui.sh --all",
|
"build": "GENERATE_SOURCEMAP=false bash build_ui.sh --all",
|
||||||
"build:module": "bash build_ui.sh --build-module",
|
"build:module": "bash build_ui.sh --build-module",
|
||||||
"start": "npm run start -w react-app",
|
"start": "npm run start -w react-app",
|
||||||
"test": "npm run test --workspaces",
|
"test": "npm run test --workspaces",
|
||||||
|
|
Loading…
Reference in New Issue