Skip to content

Commit

Permalink
Merge pull request #104 from merkle-open/feature/webpack-4-notice
Browse files Browse the repository at this point in the history
chore: restrict webpack versions to latest compatible version
  • Loading branch information
ernscht committed Nov 1, 2022
2 parents dca5e53 + bcead32 commit 02e3683
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Instead of copying loader configs from github and stackoverflow you could just a
<br>
</div>

## Required Webpack Version

The compatible version of webpack to each plugin may vary and is documented in each `package.json` file under the `peerDependencies` property.

## Quick overview

```
Expand Down
2 changes: 1 addition & 1 deletion packages/asset-config-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "jest --runInBand --verbose"
},
"peerDependencies": {
"webpack": ">=4.36.0"
"webpack": ">=4.36.0 < 5"
},
"dependencies": {
"font-config-webpack-plugin": "^2.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/common-config-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test-watch": "jest --watch --runInBand"
},
"peerDependencies": {
"webpack": ">=4.36.0"
"webpack": ">=4.36.0 < 5"
},
"dependencies": {
"@babel/core": "^7.13.15",
Expand Down
2 changes: 1 addition & 1 deletion packages/font-config-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test-watch": "jest --watch --runInBand"
},
"peerDependencies": {
"webpack": ">=4.36.0"
"webpack": ">=4.36.0 < 5"
},
"dependencies": {
"file-loader": "^6.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/image-config-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test-watch": "jest --watch --runInBand"
},
"peerDependencies": {
"webpack": ">=4.36.0"
"webpack": ">=4.36.0 < 5"
},
"dependencies": {
"file-loader": "^6.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/js-config-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@babel/core": ">=7.0.0",
"@babel/preset-env": ">=7.0.0",
"@babel/preset-react": ">=7.0.0",
"webpack": ">=4.36.0"
"webpack": ">=4.36.0 < 5"
},
"dependencies": {
"babel-loader": "^8.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/scss-config-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test-watch": "jest --watch --runInBand"
},
"peerDependencies": {
"webpack": ">=4.36.0"
"webpack": ">=4.36.0 < 5"
},
"dependencies": {
"autoprefixer": "^10.2.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/ts-config-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"peerDependencies": {
"typescript": ">=3.1.0",
"webpack": ">=4.36.0"
"webpack": ">=4.36.0 < 5"
},
"dependencies": {
"cache-loader": "^4.1.0",
Expand Down

0 comments on commit 02e3683

Please sign in to comment.