Skip to content

Conversation

@shilman
Copy link
Member

@shilman shilman commented Mar 17, 2021

Issue: #14252

What I did

Added version checks:

  • builder-webpack4 - ensure webpack4 instance
  • builder-webpack5 - ensure webpack5 instance
  • core-server manager builder - ensure webpack4 instance

How to test

I manually set the wrong version using yarn resolutions in a test project

@shilman shilman added maintenance User-facing maintenance tasks core labels Mar 17, 2021
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

LGTM although I think you could type the object a tiny bit ({version?: string } maybe?) and cast to it

@shilman shilman merged commit a2a9028 into next Mar 17, 2021
@shilman shilman deleted the 14252-check-webpack-version branch March 17, 2021 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core maintenance User-facing maintenance tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants