Skip to content

Commit

Permalink
Do not use build-optimizer when bundling web-ui. Ref GNS3/gns3-web-ui…
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Jul 31, 2022
1 parent 31ae708 commit 8670377
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/update-bundled-web-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ echo "Current working dir $REPO_DIR"
cd "$REPO_DIR"

yarn install
yarn ng build --source-map=false --configuration=production --base-href /static/web-ui/

# FIXME: remove --build-optimizer=false
yarn ng build --source-map=false --build-optimizer=false --configuration=production --base-href /static/web-ui/

cp -R $REPO_DIR/dist/* "$GNS3SERVER_DIR/gns3server/static/web-ui/"

Expand Down

0 comments on commit 8670377

Please sign in to comment.