Skip to content

Conversation

ryanclark
Copy link
Member

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

Run webpack-defaults and validate webpack 5 compatibility, updating tests to pass

Breaking Changes

N/A

package.json Outdated
"peerDependencies": {
"less": "^2.3.1 || ^3.0.0",
"webpack": "^2.0.0 || ^3.0.0 || ^4.0.0"
"webpack": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"
Copy link
Member

Choose a reason for hiding this comment

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

Let's do it ^4.0.0 || ^5.0.0

lessFixturePath('basic.less'),
].sort()
);
expect(dependencies).toContain(lessFixturePath('import.less'));
Copy link
Member Author

Choose a reason for hiding this comment

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

webpack 5 adds more dependencies, so we need to check whether or not the loader has added them into the array, rather than the whole array equalling a fixed set of dependencies

@alexander-akait
Copy link
Member

audit problem, jest still has old acorn version, so ignore it

@alexander-akait alexander-akait merged commit f0b42b4 into webpack:master Mar 13, 2020
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.

2 participants