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

fix(@ngtools/webpack): ensure plugin provided Webpack instance is used #21089

Merged
merged 1 commit into from Jun 9, 2021

Conversation

clydin
Copy link
Member

@clydin clydin commented Jun 9, 2021

Webpack 5 provides the Webpack instance as a property on the Webpack compiler which allows Webpack plugins to leverage the same Webpack instance that was used to initiate the build. The AngularWebpackPlugin now will only use the provided instance to ensure that differing Webpack instances and/or versions are not used.

Webpack 5 provides the Webpack instance as a property on the Webpack compiler which allows Webpack plugins to leverage the same Webpack instance that was used to initiate the build. The `AngularWebpackPlugin` now will only use the provided instance to ensure that differing Webpack instances and/or versions are not used.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Jun 9, 2021
@google-cla google-cla bot added the cla: yes label Jun 9, 2021
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release labels Jun 9, 2021
@alan-agius4
Copy link
Collaborator

@clydin this doesn't apply cleanly on the patch branch. Kindly open a new PR.

@alan-agius4 alan-agius4 merged commit 0c2a862 into angular:master Jun 9, 2021
@clydin clydin deleted the ngtools/webpack-instances branch June 9, 2021 15:34
@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 Jul 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants