mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-22 15:02:11 +08:00
Forcing TypeScript to output commonjs modules instead of es2015 modules drastically improves rebuild speeds, especially for AOT. This PR forces this option on the following modes: - `ng build --watch --target=development` - `ng serve --target=development` - `ng test --code-coverage=false` Please note that `--target=development` and `--code-coverage=false` are the defaults. See https://github.com/webpack/webpack/issues/5863 for the webpack issue.