-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support the [Dynamic import proposal](https://github.com/tc39/proposal-dynamic-import) [TC39 Stage 3] as a loader (codegen). The import() construct is supported in webpack from 2.1.0-beta28 Also adds decprecation message then using async-system (System.import) as it will be removed from webpack 3+ BREAKING CHANGES: Typescript transform `import(...)` syntax into something. To use `ng-router-loader` with `async-import` code generator the `ng-router-loader` must run **AFTER** the TS compiler (e.g: awesome-typescript-loader), that is in a lower index in the loaders array. This also requires the code generators to emit ES5 code. SEE: microsoft/TypeScript#12364
- Loading branch information
Shlomi Assaf (shlassaf)
committed
Jan 17, 2017
1 parent
6322274
commit 48b9f0b
Showing
3 changed files
with
37 additions
and
8 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
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