What does --aot do internally?

Hi there,

I’d like to know what the parameter --aot does internally. The documentation just says ‘Perform ahead-of-time compilation for this build’; I’d like to know a bit more.

I manually adapted some templates inside \node_modules\ionic-angular\components\ and these changes are present in a debug build, they are present with all prod parameters except --aot.

So, my question: What exactly does --aot do to produce this behaviour?
And, following that: How to solve this? I need the --aot for performs reasons.

Thanks ind advance

These are two completely separate issues. Never modify anything manually under node_modules. Instead look into npm link.