Skip to content
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

Webpack peer dependency fixes #11152

Merged
merged 5 commits into from Jun 8, 2018

Conversation

filipesilva
Copy link
Contributor

@filipesilva filipesilva commented Jun 7, 2018

Fix #6417.
Fix #11152

@@ -86,6 +90,11 @@ export interface AngularCompilerPluginOptions {
// added to the list of lazy routes
additionalLazyModules?: { [module: string]: string };

// The ContextElementDependency of correct Webpack compilation.
// This is needed when there are multiple Webpack installs.
// tslint:disable-next-line:no-any
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can remove the tslint disable here (and the one below on line 140)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

…ndency class

This should allow multiple webpack versions in the workspace dependencies with no weird errors.

Fix angular#6417 for good.
…to ngtools/webpack

Should go in only together with "feat(@ngtools/webpack): allow passing in the right ContextElementDependency class".
@filipesilva filipesilva merged commit 55fd399 into angular:master Jun 8, 2018
@filipesilva filipesilva deleted the build-webpack-peerdep branch June 8, 2018 11:54
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lazy loading module broken with " No module factory available for dependency type: ContextElementDependency"
3 participants