Options
All
  • Public
  • Public/Protected
  • All
Menu

Enable presets of externals for specific targets.

Hierarchy

  • ExternalsPresets

Index

Properties

electron?: boolean

Treat common electron built-in modules in main and preload context like 'electron', 'ipc' or 'shell' as external and load them via require() when used.

electronMain?: boolean

Treat electron built-in modules in the main context like 'app', 'ipc-main' or 'shell' as external and load them via require() when used.

electronPreload?: boolean

Treat electron built-in modules in the preload context like 'web-frame', 'ipc-renderer' or 'shell' as external and load them via require() when used.

electronRenderer?: boolean

Treat electron built-in modules in the renderer context like 'web-frame', 'ipc-renderer' or 'shell' as external and load them via require() when used.

node?: boolean

Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.

nwjs?: boolean

Treat NW.js legacy nw.gui module as external and load it via require() when used.

web?: boolean

Treat references to 'http(s)://...' and 'std:...' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).

webAsync?: boolean

Treat references to 'http(s)://...' and 'std:...' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).