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
ContextModuleFactory
Class ContextModuleFactory
Abstract
Hierarchy
ModuleFactory
ContextModuleFactory
Index
Constructors
constructor
Properties
hooks
resolver
Factory
Methods
create
resolve
Dependencies
Constructors
constructor
new
Context
Module
Factory
(
)
:
ContextModuleFactory
Returns
ContextModuleFactory
Properties
hooks
hooks
:
Readonly
<
{
afterResolve
:
AsyncSeriesWaterfallHook
<
[
any
]
,
UnsetAdditionalOptions
>
;
alternativeRequests
:
AsyncSeriesWaterfallHook
<
[
any
[]
,
ContextModuleOptions
]
,
UnsetAdditionalOptions
>
;
alternatives
:
FakeHook
<
Pick
<
AsyncSeriesWaterfallHook
<
[
any
[]
]
,
UnsetAdditionalOptions
>
,
"name"
|
"tap"
|
"tapAsync"
|
"tapPromise"
>
>
;
beforeResolve
:
AsyncSeriesWaterfallHook
<
[
any
]
,
UnsetAdditionalOptions
>
;
contextModuleFiles
:
SyncWaterfallHook
<
[
string
[]
]
,
UnsetAdditionalOptions
>
}
>
resolver
Factory
resolver
Factory
:
ResolverFactory
Methods
create
create
(
data
:
ModuleFactoryCreateData
, callback
:
(
arg0
?:
null
|
Error
, arg1
?:
ModuleFactoryResult
)
=>
void
)
:
void
Parameters
data:
ModuleFactoryCreateData
callback:
(
arg0
?:
null
|
Error
, arg1
?:
ModuleFactoryResult
)
=>
void
(
arg0
?:
null
|
Error
, arg1
?:
ModuleFactoryResult
)
:
void
Parameters
Optional
arg0:
null
|
Error
Optional
arg1:
ModuleFactoryResult
Returns
void
Returns
void
resolve
Dependencies
resolve
Dependencies
(
fs
:
InputFileSystem
, options
:
ContextModuleOptions
, callback
:
(
err
?:
null
|
Error
, dependencies
?:
ContextElementDependency
[]
)
=>
any
)
:
void
Parameters
fs:
InputFileSystem
options:
ContextModuleOptions
callback:
(
err
?:
null
|
Error
, dependencies
?:
ContextElementDependency
[]
)
=>
any
(
err
?:
null
|
Error
, dependencies
?:
ContextElementDependency
[]
)
:
any
Parameters
Optional
err:
null
|
Error
Optional
dependencies:
ContextElementDependency
[]
Returns
any
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