Skip to content

Commit

Permalink
Set webpack depedency in package.json
Browse files Browse the repository at this point in the history
This fixes the following errors during the asset precompilation step

warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "webpack-dev-server > [email protected]" has unmet peer dependency "webpack@^4.0.0".

See rails/webpacker#1078
  • Loading branch information
Jiv Dhaliwal committed Aug 13, 2020
1 parent ba5e4f0 commit 1cbb24b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"@rails/activestorage": "^6.0.0",
"@rails/ujs": "^6.0.0",
"@rails/webpacker": "4.2.2",
"turbolinks": "^5.2.0"
"turbolinks": "^5.2.0",
"webpack": "^4.0.0"
},
"version": "0.1.0",
"devDependencies": {
Expand Down

0 comments on commit 1cbb24b

Please sign in to comment.