New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why process commented line? #3
Comments
What version of the loader are you using ?
…Sent from my iPhone
On Feb 1, 2017, at 1:57 PM, klihelp ***@***.***> wrote:
export const ROUTES: Routes = [
{ path: '**', component: NoContentComponent },
];
// Comments
// { path: 'barrel', loadChildren: './+barrel#BarrelModule'},
On Build, Why processing commented line?
=====ng-router-loader ============
Importer: /../app/app.routes.ts
Raw Request: loadChildren: './+barrel#BarrelModule'
Replacement: loadChildren: () => System.import('/.../app/+barrel/index')
.then( (module: any) => module['BarrelModule']
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Using latest version2+.
On build:
Similar issue in angular aot build: Cannot determine the module for class Potentially on ng-router-loader: |
@klihelp I don't know what you are doing, but commenting out the barrel line did not yield any error and did not activate You are doing something wrong. Anyway, this can't happen in version 2 since it uses AST to parse the code, so unless Make sure you put the loader after your TS loader (so the loader gets JS code, not TS) |
Thanks for the info. |
That project is a copy of AngularClass/angular2-webpack-starter
The configuration in that project is not suitable for version 2.0
This is the right setup: I really don't get the point of making a starter that is copy of another starter, how much knowledge is required in so many different fields to maintain that... |
On Build, Why processing commented line?
The text was updated successfully, but these errors were encountered: