bytenode-webpack-plugin
bytenode-webpack-plugin copied to clipboard
Support for `contextIsolation: true, nodeIntegration: false, sandbox: true`
- The example for forge/webpack/ts turns on node integration for the renderer to make bytenode-webpack-plugin work
- The readme states there might be other ways to make bytenode-webpack-plugin work
- Can you provide a minimal example of such a solution that does not enable node integration?
- Even pointers would be helpful, say I wanted;
{ contextIsolation: true, nodeIntegration: false, sandbox: true }
(the electron default), what other methods could make bytenode work for preload and renderer?
Looking forward to this extremely important example
@PascalPixel we haven't found a way yet, that's why there is no example. If you happen to know how we could go about making this possible, let us know and we'll work on implementing it.
To investigate: https://github.com/herberttn/bytenode-webpack-plugin/issues/30#issuecomment-1798446991