1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Do not use build-optimizer when bundling web-ui. Ref https://github.com/GNS3/gns3-web-ui/issues/1366

This commit is contained in:
grossmj 2022-07-31 12:39:42 +02:00
parent 31ae70894e
commit 8670377e3b

View File

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