You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To enable the sandbox in browser webview of desktop app, we need to change the webpack config for preload.js in:/packages/injected/webpack.config.cjs as follow:
To enable the sandbox in browser webview of desktop app, we need to change the webpack config for preload.js in:/packages/injected/webpack.config.cjs as follow:
to the new one:
Otherwise, there will be a issue caused by
import electron
in preload.js, because of the limitation of sandbox such as limitation inrequire
.PR related to this is here:Change preload.js webpack config to support sandbox
PR related to app's sandbox config is here:Enable sandbox in browser's webview of desktop
#245
The text was updated successfully, but these errors were encountered: