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
You cannot set preloading scripts without modifying a few files and also contextIsolation. This package is by default without preloading and you can directly access node in the renderer process.
But if you need to use preload script, you can follow this issue here. This guy already configured some stuff for us and it works great.
Cheers
Hello.
I'd like to use this package together with your boilerplate, but it requires me to run some preload scripts.
I tried setting up a path to a preload file in
webPreferences
, but I get an error "Unable to load preload script".The text was updated successfully, but these errors were encountered: