Angular 2 AOT - Can't resolve $$_gendir…ngfactory
问题 https://github.com/stefankendall/broken-aot I'm trying to setup a simple AOT angular 2 build with webpack and gulp. In my minimal example I've created, I have the following: ./src/app/components - components used by the main application, a separate ngmodule ./src/app/examples - the main application ERROR in ./src/index.ts Module not found: Error: Can't resolve './../$$_gendir/src/app/examples/app.module.ts.ngfactory' in '/Users/username/workpath/projectname/src' @ ./src/index.ts 8:32-98 Based