Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for contextIsolation: true, nodeIntegration: false, sandbox: true #28

Open
PascalPixel opened this issue Aug 1, 2023 · 3 comments
Labels
electron enhancement New feature or request help wanted Extra attention is needed

Comments

@PascalPixel
Copy link

PascalPixel commented Aug 1, 2023

  • 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?
@raphael10-collab
Copy link

Looking forward to this extremely important example

@herberttn
Copy link
Owner

@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.

@herberttn herberttn added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Jan 18, 2024
@herberttn
Copy link
Owner

To investigate: #30 (comment)

@herberttn herberttn changed the title Example of use with forge/webpack/ts without node integration Support for { contextIsolation: true, nodeIntegration: false, sandbox: true } Jan 18, 2024
@herberttn herberttn changed the title Support for { contextIsolation: true, nodeIntegration: false, sandbox: true } Support for contextIsolation: true, nodeIntegration: false, sandbox: true Jan 18, 2024
@herberttn herberttn added electron and removed documentation Improvements or additions to documentation labels Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants