webpack 5 support
clonq opened this issue · 4 comments
clonq commented
Any plans to support webpack 5?
I'm trying to set up node-hid with electron-react-boilerplate and I see a number of webpack-related errors.
todbot commented
Native module packing appears to be done quite differently in electron-react-boilerplate
compared to how electron-webpack
does it. I assume you've set up your project as described here: https://electron-react-boilerplate.js.org/docs/native-modules
clonq commented
Yes, but I'm getting polyfill error messages regarding fs and other modules...
clonq commented
On the other hand, when I try to add react-router, redux and react/redux devtools support to electron-hid-toy, I get other errors...
todbot commented
Here's an example using electron-react-boilerplate
: https://github.com/todbot/electron-hid-test-erb