title: _lazy_route_resource lazy namespace object
body: <p>I'm using angular compiler:
  <code>const  AngularCompilerPlugin = require('@ngtools/webpack').AngularCompilerPlugin;</code></p>
  
  <p>With these compiler options:</p>
  
  <pre><code>"angularCompilerOptions": {
  "genDir": "./build/compiled",
  "outDir": "./build/compiled",
  "skipMetadataEmit": true,
  "debug": true},
  </code></pre>
  
  <p>Relevant part of my package.json is:</p>
  
  <pre><code>"@ngtools/webpack": "^6.0.0",
  "@angular/router": "^5.2.0",
  "webpack": "4.8.3",
  "webpack-cli": "2.1.4",
  </code></pre>
  
  <p>And my angularCompilerPlugin config is:</p>
  
  <pre><code>new AngularCompilerPlugin({
    tsConfigPath: 'path-to-tsconfig.webpack.json',
    entryModule: 'path-to-app.module#AppModule',
    sourceMap: true
  }),
  </code></pre>
  
  <p>With these configurations, I'm getting:</p>
  
  <pre><code>ERROR in ./$$_lazy_route_resource lazy namespace object
  Module not found: Error: Can't resolve 'path-/alerts/module.ngfactory.js' in 'path-to-app-folder/$$_lazy_route_resource'
   @ ./$$_lazy_route_resource lazy namespace object
   @ ./node_modules/@angular/core/esm5/core.js
   @ multi core-js/shim classlist.js reflect-metadata zone.js/dist/zone jquery/dist/jquery rxjs/Rx lodash jquery.panzoom moment moment-timezone @angular/common @angular/core @angular/http @angular/router @angular/forms semantic
  </code></pre>
  
  <p>Please any direction or help.</p>