mirror of
https://github.com/prometheus/prometheus
synced 2025-01-14 02:43:35 +00:00
UI: fix build (#10862)
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
This commit is contained in:
parent
5184f49a2a
commit
3dad28fcbd
@ -25,13 +25,13 @@ buildOrder=(lezer-promql codemirror-promql)
|
||||
function buildModule() {
|
||||
for module in "${buildOrder[@]}"; do
|
||||
echo "build ${module}"
|
||||
npm run build -w "${module}"
|
||||
npm run build -w "@prometheus-io/${module}"
|
||||
done
|
||||
}
|
||||
|
||||
function buildReactApp() {
|
||||
echo "build react-app"
|
||||
npm run build -w react-app
|
||||
npm run build -w @prometheus-io/app
|
||||
rm -rf ./static/react
|
||||
mv ./react-app/build ./static/react
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user