preboot / angular-webpack

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

#197: aot support #219

Closed aausting closed 7 years ago

aausting commented 7 years ago

Hey @Foxandxss

just added @ngtools/webpack to get aot support up and running (see build-aot).

Please review :-)

Foxandxss commented 7 years ago

I like what I see @aausting but I want to create a separate branch where I want to do some heavy changes. Different folder structure, aot, split configs...

I wrote the webpack guide at angular.io and we plan on updating it to webpack 2 + ngtools, but we are still in the stage of brainstorming some ideas so that is my first step, then I want to update this repo and lastly, get all the cool new ideas back to the webpack guide.

aausting commented 7 years ago

I think it's a good idea to create a new branch for this. There are some open questions about aot and i18n, routing, multiple bundles, preloading, ... that need to be checked.

The current stage of angular-cli does not fit my needs to customize the build process. I'm looking forward to see all the new ideas in here!