ElectronTargetPlugin

This plugin is used to external the Electron built-in modules during bundling, and is used by externalsPresets.electron, externalsPresets.electronMain, externalsPresets.electronRenderer, and externalsPresets.electronPreload under the hood.

new rspack.electron.ElectronTargetPlugin();