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:
parent
31ae70894e
commit
8670377e3b
@ -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/"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user