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-vite
InternalOptions
OutputPlugin
Interface OutputPlugin
Hierarchy
Partial
<
{
[
K
in
OutputPluginHooks
]
:
PluginHooks
[
K
]
}
>
Partial
<
{
[
K
in
AddonHooks
]
:
ObjectHook
<
AddonHook
>
}
>
OutputPlugin
Plugin
Index
Properties
augment
Chunk
Hash
banner
cache
Key
footer
generate
Bundle
intro
name
output
Options
outro
render
Chunk
render
Dynamic
Import
render
Error
render
Start
resolve
File
Url
resolve
Import
Meta
version
write
Bundle
Properties
augment
Chunk
Hash
augment
Chunk
Hash
:
undefined
|
ObjectHook
<
(
this
:
PluginContext
, chunk
:
RenderedChunk
)
=>
string
|
void
,
{}
>
banner
banner
:
undefined
|
ObjectHook
<
AddonHook
,
{}
>
Optional
cache
Key
cache
Key
?:
string
footer
footer
:
undefined
|
ObjectHook
<
AddonHook
,
{}
>
generate
Bundle
generate
Bundle
:
undefined
|
ObjectHook
<
(
this
:
PluginContext
,
...
parameters
:
[
options
:
NormalizedOutputOptions
,
bundle
:
OutputBundle
,
isWrite
:
boolean
]
)
=>
void
|
Promise
<
void
>
,
{}
>
intro
intro
:
undefined
|
ObjectHook
<
AddonHook
,
{}
>
name
name
:
string
output
Options
output
Options
:
undefined
|
ObjectHook
<
(
this
:
PluginContext
, options
:
OutputOptions
)
=>
NullValue
|
OutputOptions
,
{}
>
outro
outro
:
undefined
|
ObjectHook
<
AddonHook
,
{}
>
render
Chunk
render
Chunk
:
undefined
|
ObjectHook
<
(
this
:
PluginContext
,
...
parameters
:
[
code
:
string
,
chunk
:
RenderedChunk
,
options
:
NormalizedOutputOptions
,
meta
:
{
chunks
:
Record
<
string
,
RenderedChunk
>
}
]
)
=>
string
|
NullValue
|
{
code
:
string
;
map
?:
SourceMapInput
}
|
Promise
<
string
|
NullValue
|
{
code
:
string
;
map
?:
SourceMapInput
}
>
,
{}
>
render
Dynamic
Import
render
Dynamic
Import
:
undefined
|
ObjectHook
<
(
this
:
PluginContext
, options
:
{
customResolution
:
null
|
string
;
format
:
InternalModuleFormat
;
moduleId
:
string
;
targetModuleId
:
null
|
string
}
)
=>
NullValue
|
{
left
:
string
;
right
:
string
}
,
{}
>
render
Error
render
Error
:
undefined
|
ObjectHook
<
(
this
:
PluginContext
,
...
parameters
:
[
error
?:
Error
]
)
=>
void
|
Promise
<
void
>
,
{
sequential
?:
boolean
}
>
render
Start
render
Start
:
undefined
|
ObjectHook
<
(
this
:
PluginContext
,
...
parameters
:
[
outputOptions
:
NormalizedOutputOptions
,
inputOptions
:
NormalizedInputOptions
]
)
=>
void
|
Promise
<
void
>
,
{
sequential
?:
boolean
}
>
resolve
File
Url
resolve
File
Url
:
undefined
|
ObjectHook
<
ResolveFileUrlHook
,
{}
>
resolve
Import
Meta
resolve
Import
Meta
:
undefined
|
ObjectHook
<
ResolveImportMetaHook
,
{}
>
Optional
version
version
?:
string
write
Bundle
write
Bundle
:
undefined
|
ObjectHook
<
(
this
:
PluginContext
,
...
parameters
:
[
options
:
NormalizedOutputOptions
,
bundle
:
OutputBundle
]
)
=>
void
|
Promise
<
void
>
,
{
sequential
?:
boolean
}
>
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