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
For security reasons, require is not defined in the special context in which preload scripts run, but it would be useful for preload scripts to be able to share constants (i.e., method names) between preload scripts and IPC implementations for the APIs exposed in preload scripts.
This feature request is to suggest being able to build the preload scripts with esbuild --bundle option so there is no need for require at runtime.
The text was updated successfully, but these errors were encountered:
For security reasons,
require
is not defined in the special context in which preload scripts run, but it would be useful for preload scripts to be able to share constants (i.e., method names) between preload scripts and IPC implementations for the APIs exposed in preload scripts.This feature request is to suggest being able to build the preload scripts with esbuild
--bundle
option so there is no need for require at runtime.The text was updated successfully, but these errors were encountered: