You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to { path: 'todoAdd', loadChildren: './todo-add/todo-add.module#TodoAddModule' }
how to reproduce:
git clone https://github.com/onhate/angular-meteor-lazy-loading-single-line-issue
cd angular-meteor-lazy-loading-single-line-issue
npm install
npm start
And you will see the following error:
=> Errors prevented startup:
While building for web.browser:
client/imports/app/app.module.js:24:154: Unexpected token (24:154)
While building for web.browser.legacy:
client/imports/app/app.module.js:24:154: Unexpected token (24:154)
=> Your application has errors. Waiting for file change.
The text was updated successfully, but these errors were encountered:
Using latest example code for lazy loading, just changed the
client/imports/app/app.module.ts
from multi line to single line route configuration.from
to
{ path: 'todoAdd', loadChildren: './todo-add/todo-add.module#TodoAddModule' }
how to reproduce:
And you will see the following error:
The text was updated successfully, but these errors were encountered: