These are chat archives for AngularClass/angular2-webpack-starter

Nov 2016
Nov 25 2016 11:01
Hi, i have one question about lazyloading /async routes. Is it possible to load route/s from already bundled js? For example, i would like to have +detail component (route) in one folder (svn, git repo) with system that build for example detail.bundle.js. This bundle is then downloaded to other app (other svn/git repo) with npm and route that looks something like this: path: 'detail', loadChildren: () => System.import('./node_modules/detail/detail.bundle.js').then((comp: any) => comp.default). Thanks for any suggestions , and sorry for my English :).