ebc8e808a9
When lazily loading code, users need to be able to get hold of the NgModuleFactory. For SystemJS environments, the SystemJS registry serves this purpose. However other environments, such as modules compiled with Closure compiler, do not expose exports object or a path based registry. For these environments, `@NgModule` objects can include an identifier, and the loading code can then pass `loadModule(id).then(() => getNgModule(id))` to the router. |
||
---|---|---|
.. | ||
src | ||
test | ||
testing | ||
index.ts | ||
package.json | ||
rollup-testing.config.js | ||
rollup.config.js | ||
tsconfig-testing.json | ||
tsconfig.json |