Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 6cdeac9

Browse files
filipesilvawardbell
authored andcommitted
expand on the AoT webpack plugin
1 parent d5b4033 commit 6cdeac9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

public/docs/ts/latest/cookbook/production-deploy.jade

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,10 @@ a#overview
118118

119119
Another great choice is [Webpack 2](https://webpack.js.org/) together with the
120120
[Angular Ahead-of-Time Webpack Plugin](https://github.com/angular/angular-cli/tree/master/packages/%40ngtools/webpack).
121-
Webpack is an easy to customize, high performance bundler, and the official AoT Webpack plugin
122-
makes it easier than ever to use AoT and lazy-loading.
121+
Webpack is an easy to customize, high performance bundler.
122+
The official AoT Webpack plugin transpiles TypeScript just like any TypeScript loader, and has
123+
the added benefit of statically analyzing your code, bundling lazy loaded NgModules separately
124+
and doing AoT compilation without needing to change your code manually.
123125

124126
You can use any build system you like; the only important thing is to optimize your build.
125127
Whatever build system you choose make sure to automate it so that you can make a production

0 commit comments

Comments
 (0)