mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
fix: update bundled web-ui script for newer Angular CLI
- Remove deprecated --build-optimizer flag - Update copy path from dist/ to dist/browser/ for new Angular build output Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f07d21c511
commit
85b8b04d72
@ -92,10 +92,9 @@ cd "$REPO_DIR"
|
||||
|
||||
yarn install
|
||||
|
||||
# FIXME: remove --build-optimizer=false
|
||||
yarn ng build --source-map=false --build-optimizer=false --configuration=production --base-href /static/web-ui/
|
||||
yarn ng build --source-map=false --configuration=production --base-href /static/web-ui/
|
||||
|
||||
cp -R $REPO_DIR/dist/* "$GNS3SERVER_DIR/gns3server/static/web-ui/"
|
||||
cp -R $REPO_DIR/dist/browser/* "$GNS3SERVER_DIR/gns3server/static/web-ui/"
|
||||
|
||||
cd "$GNS3SERVER_DIR"
|
||||
git add gns3server/static/web-ui/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user