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
ViteConfigGenerator
Class ViteConfigGenerator
Hierarchy
ViteConfigGenerator
Index
Constructors
constructor
Accessors
mode
Methods
get
Build
Config
get
Renderer
Config
resolve
Config
Constructors
constructor
new
Vite
Config
Generator
(
pluginConfig
:
VitePluginConfig
, projectDir
:
string
, isProd
:
boolean
)
:
ViteConfigGenerator
Parameters
pluginConfig:
VitePluginConfig
projectDir:
string
isProd:
boolean
Returns
ViteConfigGenerator
Accessors
mode
get
mode
(
)
:
string
Returns
string
Methods
get
Build
Config
get
Build
Config
(
)
:
Promise
<
UserConfig
[]
>
Returns
Promise
<
UserConfig
[]
>
get
Renderer
Config
get
Renderer
Config
(
)
:
Promise
<
UserConfig
[]
>
Returns
Promise
<
UserConfig
[]
>
resolve
Config
resolve
Config
(
buildConfig
:
VitePluginBuildConfig
|
VitePluginRendererConfig
, configEnv
?:
Partial
<
ConfigEnv
>
)
:
Promise
<
null
|
{
config
:
UserConfig
;
dependencies
:
string
[]
;
path
:
string
}
>
Parameters
buildConfig:
VitePluginBuildConfig
|
VitePluginRendererConfig
configEnv:
Partial
<
ConfigEnv
>
= {}
Returns
Promise
<
null
|
{
config
:
UserConfig
;
dependencies
:
string
[]
;
path
:
string
}
>
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