Open kakyoism opened 4 years ago
This may not be a problem specific to zeromq.js, but more of an Electron problem. You might get more help with this in Electron's repo, or at https://discuss.atom.io/c/electron. Zeromq.js does what it does, for Node. Then Electron packaging is a whole other thing.
Describe the bug
zeromq works fine with my Electron-based app, but the packaging pipeline picks up the entire node_modules/zeromq folder, which amounts to over 100MB. I wonder how to quickly exclude the intermediate product and source, only reserve the necessary binary and JS/TS bindings
Reproducing
I use yarn to build my electron app this way
This generates a functional app, but carries with it all the zeromq bag built by nodegyp
Expected behavior
I expect the zeromq.js build pipeline would exclude intermediate files at the end.
Tested on