-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update script for deploy #1367
update script for deploy #1367
Conversation
Looks like I still have the problem.
|
package.json
Outdated
@@ -17,7 +17,7 @@ | |||
"start": "ng serve", | |||
"startforelectron": "ng serve --configuration=electronDev", | |||
"build": "ng build", | |||
"buildforproduction": "ng build --source-map=false --configuration=production --base-href /static/web-ui/", | |||
"buildforproduction": "ng build --source-map=false --build-optimizer=false --aot --configuration=production --base-href /static/web-ui/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this works if the build-optimizer is false
however we want is to be activated.
Default values for --build-optimizer and --aot are
|
@@ -60,7 +61,13 @@ | |||
"type": "anyComponentStyle", | |||
"maximumWarning": "6kb" | |||
}], | |||
"optimization": true, | |||
"optimization": { | |||
"scripts": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to deactivate the scripts optimization, not sure this is what we should do since it's kinda ignoring to original issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello. Implementing the changes here, I verified that running the server and accessing the IP of the host where the Web UI runs, it is not possible to add remote servers. Do you know what can cause this? Grateful!
No description provided.