Closed ghost closed 8 years ago
Try setting the environment variable to enable a production build. See #41 for more on the production build.
@aciccarello is right - ng build -prod
will give you a bundled, tree shaken and minimized build.
thank you @aciccarello , @filipesilva very much
i used ,but i got an error, could you help me? thank you again
@filipesilva when i do ng build -prod --aot, vendor bundle file size is still 1.4mb, can't we reduce the size further ?
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
win32 64bit angular2 ng build
directory vendor size 16.3 MB
tree vendor