Open simonh1000 opened 3 years ago
@klazuka Would you accept a PR for this?
Yes, that would be appreciated.
On Wed, Apr 14, 2021 at 8:46 PM Rónán @.***> wrote:
@klazuka https://github.com/klazuka Would you accept a PR for this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/klazuka/elm-hot-webpack-loader/issues/21#issuecomment-819940049, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAUULPSBENXBI5QLCWSIC3TIYZNTANCNFSM42GQWZOQ .
I got this working in #38
Awesome - everything just worked when you updated all the libs?
Pretty much. Just had to update the test project so it would work with webpack 5, which took some trial and error.
@klazuka - any plan for the merge? With node 16.x
and npm 8
the npm install
throws errors that there are incompatible versions in peer-dependencies for elm-hot-webpack-loader
and elm-webpack-loader
.
Workaround to get around those errors is to use --legacy-peer-deps
flag while installing this package
npm install --save-dev --legacy-peer-deps elm-hot-webpack-loader
I have published this: https://www.npmjs.com/package/elm-reloader Here's an example usage: https://github.com/ronanyeah/elm-webpack
The peerDeps declaration conflicts with using elm-webpack-loader on webapck5 systems. But it looks as though your code works perfectly fine with the 8.0.0 and its just the declaration that needs updating