brandonroberts / angular-router-loader

A Webpack loader that enables string-based module loading with the Angular Router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't resolve lazyload.module.ngfactory

fisherspy opened this issue · comments

AOT build process shows:
image

ngfactory files were generated in aot dir, not compile dir

Is it related to angualr-router-loader(latest 0.5.0 also failed)?

Enviroments: Angular 2.4.1, Webpack 2.1.0-beta.27

Your genDir option needs to be set to aot to match the directory where your ngfactory files were generated.

angular-router-loader?aot=true&genDir=aot

@brandonroberts It works, could pls upload 0.5.0 to npm asap?

0.5.0 is already on npm