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
WebpackPlugin
Class WebpackPlugin
Hierarchy
Plugin
<
WebpackPluginConfig
>
WebpackPlugin
Index
Constructors
constructor
Properties
config
name
Accessors
config
Generator
Methods
compile
Main
compile
Renderers
dev
Server
Options
exit
Handler
get
Hooks
init
launch
Renderer
Dev
Servers
package
After
Copy
resolve
Forge
Config
set
Directories
start
Logic
writeJSONStats
Constructors
constructor
new
Webpack
Plugin
(
c
:
WebpackPluginConfig
)
:
WebpackPlugin
Parameters
c:
WebpackPluginConfig
Returns
WebpackPlugin
Properties
config
config
:
WebpackPluginConfig
name
name
:
string
= 'webpack'
Accessors
config
Generator
get
configGenerator
(
)
:
WebpackConfigGenerator
Returns
WebpackConfigGenerator
Methods
compile
Main
compile
Main
(
watch
?:
boolean
, logger
?:
Logger
)
:
Promise
<
void
>
Parameters
watch:
boolean
= false
Optional
logger:
Logger
Returns
Promise
<
void
>
compile
Renderers
compile
Renderers
(
watch
?:
boolean
)
:
Promise
<
void
>
Parameters
watch:
boolean
= false
Returns
Promise
<
void
>
dev
Server
Options
dev
Server
Options
(
)
:
Configuration
Returns
Configuration
exit
Handler
exit
Handler
(
options
:
{
cleanup
?:
boolean
;
exit
?:
boolean
}
, err
?:
Error
)
:
void
Parameters
options:
{
cleanup
?:
boolean
;
exit
?:
boolean
}
Optional
cleanup
?:
boolean
Optional
exit
?:
boolean
Optional
err:
Error
Returns
void
get
Hooks
get
Hooks
(
)
:
ForgeMultiHookMap
Returns
ForgeMultiHookMap
init
init
(
dir
:
string
)
:
void
Parameters
dir:
string
Returns
void
launch
Renderer
Dev
Servers
launch
Renderer
Dev
Servers
(
logger
:
Logger
)
:
Promise
<
void
>
Parameters
logger:
Logger
Returns
Promise
<
void
>
package
After
Copy
package
After
Copy
(
_forgeConfig
:
ResolvedForgeConfig
, buildPath
:
string
)
:
Promise
<
void
>
Parameters
_forgeConfig:
ResolvedForgeConfig
buildPath:
string
Returns
Promise
<
void
>
resolve
Forge
Config
resolve
Forge
Config
(
forgeConfig
:
ResolvedForgeConfig
)
:
Promise
<
ResolvedForgeConfig
>
Parameters
forgeConfig:
ResolvedForgeConfig
Returns
Promise
<
ResolvedForgeConfig
>
set
Directories
set
Directories
(
dir
:
string
)
:
void
Parameters
dir:
string
Returns
void
start
Logic
start
Logic
(
)
:
Promise
<
StartResult
>
Returns
Promise
<
StartResult
>
writeJSONStats
writeJSONStats
(
type
:
string
, stats
:
undefined
|
Stats
, statsOptions
:
undefined
|
string
|
StatsOptions
, suffix
:
string
)
:
Promise
<
void
>
Parameters
type:
string
stats:
undefined
|
Stats
statsOptions:
undefined
|
string
|
StatsOptions
suffix:
string
Returns
Promise
<
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