Description
I'm currently trying to migrate one of my projects from RobotJS to an actively maintained alternative, and found this. But I'm having trouble including this module in the packaged version of my Electron application. Everything works fine when just running the app via 'electron-forge start', but the binaries/installers produced by the package/make scripts don't seem to include NutJS at all.
Resulting in Cannot find module '@nut-tree/libnut-win32'
I'm using the Webpack Template for Electron Forge. Which seems to handle native modules quite well. But I'm not sure whats happening here...
I'm fairly sure this isn't an issue with the actual library itself, but more a webpack/electron configuration issue that I'm just hoping someone might have some insight on. Apologies if this isn't the best place to ask this question, but I figured its better than not asking at all and pulling my hair out...