Merge pull request #2672 from yueguobin/fix/update-bundled-web-ui-script

Fix update-bundled-web-ui script for newer Angular CLI
This commit is contained in:
Jeremy Grossmann 2026-04-21 00:41:49 +08:00 committed by GitHub
commit a366007f72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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/*