-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use import() construct via ng-router-loader@2.0.0 (#1387)
* feat: use import() construct via ng-router-loader@2.0.0 fix: upgrade webpack-dll-bundles-plugin * refactor: verbose ts loader definition The definition of the `*.ts` loader is getting more complex. We need AOT compliance so we use `angular2-template-loader` We need lazy loading so we use `ng-router-loader` And of course, we need to compile TS to JS, `awesome-typescript-loader` We can't explain all that in the configuration file but we can use Webpack 2 new loader syntax and use objects instead of literal string to configure the loaders.
- Loading branch information
1 parent
37ca5c2
commit 35b48e5
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters