preboot / angular-webpack

A complete, yet simple, starter for Angular v2+ using webpack
MIT License
1.29k stars 561 forks source link

platform-browser packages required for AoT build? #329

Open mii9000 opened 7 years ago

mii9000 commented 7 years ago

I have an AoT build based on this repo. @Foxandxss Is it required to have @angular/platform-browser for an AoT build? It seems, for me, I can run my app fine without it and decrease in the overall size of scripts but I cannot find an explanation as to why this will happen. Do you have any idea?

ShankarSumanth commented 7 years ago

@Ibrahim-Islam , do you have a working repo (prefereably angular 4) which you could share? For some reason my build with aot fails during asset optimization process. Says it cannot find 'split' of undefined in main.ts file.

mii9000 commented 7 years ago

@ShankarSumanth Sorry. The app is on Angular 2 for now. Have not updated it yet.