Auto exposing API from preload
#791
cawa-93
announced in
BREACKING CNANGES
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Experimentally added support for automatic exposing of api from
preload
package.Now, for everything you export from the
preload
will be automatically calledelectron.contextBridge.exposeInMainWorld
.And to access the exposed API in the renderer you need to import them from the
#preload
https://github.com/cawa-93/unplugin-auto-expose
Beta Was this translation helpful? Give feedback.
All reactions