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"
sources
ReplaceSource
Class ReplaceSource
Hierarchy
"/home/runner/work/forge/forge/node_modules/webpack/types"
.
sources
.
Source
ReplaceSource
Index
Constructors
constructor
Methods
buffer
get
Name
get
Replacements
insert
map
original
replace
size
source
source
And
Map
update
Hash
Constructors
constructor
new
Replace
Source
(
source
:
"/home/runner/work/forge/forge/node_modules/webpack/types"
.
sources
.
Source
, name
?:
string
)
:
ReplaceSource
Parameters
source:
"/home/runner/work/forge/forge/node_modules/webpack/types"
.
sources
.
Source
Optional
name:
string
Returns
ReplaceSource
Methods
buffer
buffer
(
)
:
Buffer
Returns
Buffer
get
Name
get
Name
(
)
:
string
Returns
string
get
Replacements
get
Replacements
(
)
:
{
content
:
string
;
end
:
number
;
insertIndex
:
number
;
name
:
string
;
start
:
number
}
[]
Returns
{
content
:
string
;
end
:
number
;
insertIndex
:
number
;
name
:
string
;
start
:
number
}
[]
insert
insert
(
pos
:
number
, newValue
:
string
, name
?:
string
)
:
void
Parameters
pos:
number
newValue:
string
Optional
name:
string
Returns
void
map
map
(
options
?:
MapOptions
)
:
null
|
RawSourceMap
Parameters
Optional
options:
MapOptions
Returns
null
|
RawSourceMap
original
original
(
)
:
string
Returns
string
replace
replace
(
start
:
number
, end
:
number
, newValue
:
string
, name
?:
string
)
:
void
Parameters
start:
number
end:
number
newValue:
string
Optional
name:
string
Returns
void
size
size
(
)
:
number
Returns
number
source
source
(
)
:
string
|
Buffer
Returns
string
|
Buffer
source
And
Map
source
And
Map
(
options
?:
MapOptions
)
:
{
map
:
Object
;
source
:
string
|
Buffer
}
Parameters
Optional
options:
MapOptions
Returns
{
map
:
Object
;
source
:
string
|
Buffer
}
map
:
Object
source
:
string
|
Buffer
update
Hash
update
Hash
(
hash
:
Hash
)
:
void
Parameters
hash:
Hash
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