TeamMaestro / angular-native-seed

Build web apps and NativeScript applications from one codebase using the AngularCLI.
265 stars 71 forks source link

How do I add WebPack and Angular Universal Build? #99

Open sraja415 opened 6 years ago

sraja415 commented 6 years ago

I am using this as seed for my Angular5 and NativeScript project. It will be great if you can help me with script that will help me build in Prod mode using Webpack and Angular Universal as part of this.

IAMtheIAM commented 6 years ago

I forked this project, updated all npm packages, and ng ejected so the webpack config is available. Let me know if you want me to post it.

You have to downgrade to angular-cli@1.7.3 i believe in order to run ng eject because for some weird reason it is disabled in the new angular command line interface