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"
CleanPlugin
Class CleanPlugin
Hierarchy
CleanPlugin
Index
Constructors
constructor
Properties
options
Methods
apply
get
Compilation
Hooks
Constructors
constructor
new
Clean
Plugin
(
options
?:
CleanOptions
)
:
CleanPlugin
Parameters
Optional
options:
CleanOptions
Returns
CleanPlugin
Properties
options
options
:
{
dry
:
boolean
;
keep
?:
string
|
RegExp
|
(
(
filename
:
string
)
=>
boolean
)
}
Type declaration
dry
:
boolean
Log the assets that should be removed instead of deleting them.
Optional
keep
?:
string
|
RegExp
|
(
(
filename
:
string
)
=>
boolean
)
Keep these assets.
Methods
apply
apply
(
compiler
:
Compiler
)
:
void
Apply the plugin
Parameters
compiler:
Compiler
Returns
void
Static
get
Compilation
Hooks
get
Compilation
Hooks
(
compilation
:
Compilation
)
:
CleanPluginCompilationHooks
Parameters
compilation:
Compilation
Returns
CleanPluginCompilationHooks
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
Log the assets that should be removed instead of deleting them.