Search
Preparing search index...
The search index is not available
Electron Forge
Options
All
Public
Public/Protected
All
Inherited
Menu
Electron Forge
@electron-forge/template-webpack
InternalOptions
BaseTemplate
Class BaseTemplate
Hierarchy
BaseTemplate
WebpackTemplate
Implements
ForgeTemplate
Index
Constructors
constructor
Properties
required
Forge
Version
template
Dir
Accessors
dev
Dependencies
Methods
copy
copy
Template
File
initialize
PackageJSON
initialize
Template
update
File
By
Line
Constructors
constructor
new
Base
Template
(
)
:
BaseTemplate
Returns
BaseTemplate
Properties
required
Forge
Version
required
Forge
Version
:
any
template
Dir
template
Dir
:
string
Accessors
dev
Dependencies
get
devDependencies
(
)
:
string
[]
Returns
string
[]
Methods
copy
copy
(
source
:
string
, target
:
string
)
:
Promise
<
void
>
Parameters
source:
string
target:
string
Returns
Promise
<
void
>
copy
Template
File
copy
Template
File
(
destDir
:
string
, basename
:
string
)
:
Promise
<
void
>
Parameters
destDir:
string
basename:
string
Returns
Promise
<
void
>
initialize
PackageJSON
initialize
PackageJSON
(
directory
:
string
)
:
Promise
<
void
>
Parameters
directory:
string
Returns
Promise
<
void
>
initialize
Template
initialize
Template
(
directory
:
string
, __namedParameters
:
InitTemplateOptions
)
:
Promise
<
ForgeListrTaskDefinition
[]
>
Parameters
directory:
string
__namedParameters:
InitTemplateOptions
Returns
Promise
<
ForgeListrTaskDefinition
[]
>
update
File
By
Line
update
File
By
Line
(
inputPath
:
string
, lineHandler
:
(
line
:
string
)
=>
string
, outputPath
?:
string
)
:
Promise
<
void
>
Parameters
inputPath:
string
lineHandler:
(
line
:
string
)
=>
string
(
line
:
string
)
:
string
Parameters
line:
string
Returns
string
Optional
outputPath:
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