Skip to content

upgraded to angular-router-loader for proper angular 6 code splitting… #670

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

Closed
wants to merge 1 commit into from

Conversation

info-lvsys
Copy link
Contributor

… and lazy loading support

The prior approach with the older angular2-router-loader does not work anymore. We had to upgrade to the recommended angular-router-loader (see https://www.npmjs.com/package/angular-router-loader) and modify this webpack file accordingly. Works much better for us. In production, @ngtools/webpack does not work for us, and the proposed changes have been verified in prod and are stable.

This requires the other change adding replacing the package in package.json

… and lazy loading support

The prior approach with the older angular2-router-loader does not work anymore. We had to upgrade to the recommended angular-router-loader (see https://www.npmjs.com/package/angular-router-loader) and modify this webpack file accordingly. Works much better for us. In production, @ngtools/webpack  does not work for us, and the proposed changes have been verified in prod and are stable.
@info-lvsys
Copy link
Contributor Author

rolling it back. This I think will break too many things for this project.

@info-lvsys info-lvsys closed this Jul 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant