Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

The usage of parameter --prod ? #658

Closed
fenghonghui89 opened this issue Jan 18, 2017 · 2 comments
Closed

The usage of parameter --prod ? #658

fenghonghui89 opened this issue Jan 18, 2017 · 2 comments

Comments

@fenghonghui89
Copy link

Dear All:
I am a chinese ios develop.
I want to konw the usage of parameter --prod in ionic build ios script.
It is that --prod can advance the app boot speed?

I know I should ask this question to the ionic forum, but I don't know why my account can not login..so sorry
Thank you to tell me.

@alan-agius4
Copy link
Contributor

The --prod command forces the build to be AOT which is Angular Ahead-of-time compilation.

While it does speed up boot speed and even the site speed in general. It is not recommended to use during Development as it takes longer to compile.

@danbucholtz
Copy link
Contributor

--prod is a build that uses AoT compilation and minification. It also runs various optimizations on the JS code.

Thanks,
Dan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants