worklet-loader
worklet-loader copied to clipboard
Add webpack 5 to peerDependencies
If you're using webpack 5 and try to install packages normally you'll get this error
npm ERR! Found: [email protected]
npm ERR! node_modules/webpack
npm ERR! dev webpack@"^5.74.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0" from [email protected]
npm ERR! node_modules/worklet-loader
To fix this, you will have to install npm dependencies with --legacy-peer-deps I've tested the worklet-loader with webpack 5 and it seems to work fine, so I've made this PR to update the peer dependencies accordingly.