Skip to content

Commit

Permalink
Allow any version of webpack as a peerDependency (#550)
Browse files Browse the repository at this point in the history
Webpack 4 alpha has been released. In preparation for v4,
it seems reasonable to change this to allow `>=2`. This should cut
down on maintenance and avoid unnecessarily blocking folks
from updating going forward.
  • Loading branch information
lencioni authored and danez committed Jan 12, 2018
1 parent b31d86f commit 40552b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"peerDependencies": {
"@babel/core": "7 || ^7.0.0-beta || ^7.0.0-rc",
"webpack": "2 || 3"
"webpack": ">=2"
},
"devDependencies": {
"@babel/cli": "7.0.0-beta.5",
Expand Down

1 comment on commit 40552b6

@felipero
Copy link

@felipero felipero commented on 40552b6 Feb 15, 2018

Choose a reason for hiding this comment

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

it won't work like that:

error "babel-loader#webpack@>=2" doesn't satisfy found match of "[email protected]"

Should be something like:
"webpack": "2 || 3 || ^4.0.0-beta"

Please sign in to comment.