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
Uh oh!
There was an error while loading. Please reload this page.
-
Experimentally added support for automatic exposing of api from
preloadpackage.Now, for everything you export from the
preloadwill be automatically calledelectron.contextBridge.exposeInMainWorld.And to access the exposed API in the renderer you need to import them from the
#preloadhttps://github.com/cawa-93/unplugin-auto-expose
Beta Was this translation helpful? Give feedback.
All reactions