-
Notifications
You must be signed in to change notification settings - Fork 12k
production build including all js and multiple file , but in production build , it should have minimum file and minified files. and also ng build -prod not working .. it very big issue with production .. this should be first priority #926
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
Comments
You should consider changing the title to something shorter. My sugestion:
|
@kamleshKumarVerma I'm not really sure what you mean. Currently prod mode will bundle and minify files, as of beta.5. Is that not what you are experiencing? If it is not working for you, can you provide me with reproduction steps so I can try and debug the issue? |
in Angular cli should release a new version and change the dependencies in |
@thunderrun what is that change meant to fix? |
having the same issue, and tried the fix as posted by @thunderrun, but unfortunately it didn't work. Any time I add -prod to either ng build or ng serve, nothing loads in the app. There are no errors in console either. Here is a look at the network screen: https://gyazo.com/91eb02e1c84a9580fc8e1d0af8fc12e3 I am, however, getting some issues with loading the source js.map files on my server side. I doubt its the source maps though. Without the prod flag, everything works fine, but then we have to load around ~290 scripts total, instead of just a few. |
@filipesilva |
@thunderrun @hellsan631 see #951 for that problem. |
Closing as I can't get an answer back from the original poster. @kamleshKumarVerma if you're still having trouble reply here so I can reopen the issue. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions. Please run
ng --version
. If there's nothing outputted, pleaserun in a Terminal:
node --version
And paste the result here.
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
The log given by the failure. Normally this include a stack trace and some
more information.
Mention any other details that might be useful.
The text was updated successfully, but these errors were encountered: