Search
Preparing search index...
The search index is not available
Electron Forge
Options
All
Public
Public/Protected
All
Inherited
Menu
Electron Forge
@electron-forge/plugin-webpack
InternalOptions
"/home/runner/work/forge/forge/node_modules/webpack/types"
ContextReplacementPlugin
Class ContextReplacementPlugin
Hierarchy
ContextReplacementPlugin
Index
Constructors
constructor
Properties
new
Content
Callback
new
Content
Create
Context
Map
new
Content
Recursive
new
Content
Reg
Exp
new
Content
Resource
resource
Reg
Exp
Methods
apply
Constructors
constructor
new
Context
Replacement
Plugin
(
resourceRegExp
:
RegExp
, newContentResource
?:
any
, newContentRecursive
?:
any
, newContentRegExp
?:
any
)
:
ContextReplacementPlugin
Parameters
resourceRegExp:
RegExp
Optional
newContentResource:
any
Optional
newContentRecursive:
any
Optional
newContentRegExp:
any
Returns
ContextReplacementPlugin
Properties
new
Content
Callback
new
Content
Callback
:
any
new
Content
Create
Context
Map
new
Content
Create
Context
Map
:
any
new
Content
Recursive
new
Content
Recursive
:
any
new
Content
Reg
Exp
new
Content
Reg
Exp
:
any
new
Content
Resource
new
Content
Resource
:
any
resource
Reg
Exp
resource
Reg
Exp
:
RegExp
Methods
apply
apply
(
compiler
:
Compiler
)
:
void
Apply the plugin
Parameters
compiler:
Compiler
Returns
void
All Modules
Makers
maker-appx
maker-deb
maker-dmg
maker-flatpak
maker-pkg
maker-rpm
maker-snap
maker-squirrel
maker-wix
maker-zip
Plugins
plugin-auto-unpack-natives
plugin-base
plugin-electronegativity
plugin-fuses
plugin-local-electron
plugin-vite
plugin-webpack
Publishers
publisher-base
publisher-bitbucket
publisher-electron-release-server
publisher-gcs
publisher-github
publisher-nucleus
publisher-s3
publisher-snapcraft
publisher-static
Templates
template-base
template-vite
template-vite-typescript
template-webpack
template-webpack-typescript
Utils & Internal Helpers
core
core-utils
maker-base
shared-types
test-utils
tracer
web-multi-logger
Apply the plugin