You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is there a way I can just build for production without using gh-pages? #564
At the moment, bundling isn't in yet. It's soon to be merged though: #549
The files should be uglified though, and the config used is the production one (eg no Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode. message).
Activity
filipesilva commentedon Apr 29, 2016
There is, yes! You can just do
ng build -prod, and thedist/folder will contain a self sufficient production ready project.You can then deploy the contents of that folder to wherever you choose.
NullVoxPopuli commentedon Apr 29, 2016
Ah ha! I tried production instead of -prod. Thanks!
filipesilva commentedon Apr 29, 2016
Yeah that happened to me a couple of times as well. Not really sure why those aren't alias really, it's something carried over from
ember-cli.etkirsch commentedon Apr 29, 2016
Nice, this helps me too. Thanks!
NullVoxPopuli commentedon Apr 29, 2016
ok, so -- I just tried it, and there are still all of the files (js, html, e2e, etc per component). Shouldn't there be just:
?
filipesilva commentedon Apr 29, 2016
At the moment, bundling isn't in yet. It's soon to be merged though: #549
The files should be uglified though, and the config used is the production one (eg no
Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.message).NullVoxPopuli commentedon Apr 29, 2016
cool, thanks for the link to that!
Updated README.md
angular-automatic-lock-bot commentedon Sep 5, 2019
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.