KC's Workspace
Github
Preparing search index...
@kcconfigs/vitest
<internal>
EnvironmentPluginContainer
Class EnvironmentPluginContainer<Env>
Type Parameters
Env
extends
Environment
=
Environment
Index
Constructors
constructor
Properties
get
Sorted
Plugin
Hooks
get
Sorted
Plugins
minimal
Context
module
Graph
watch
Files
Accessors
options
Methods
build
Start
close
get
Module
Info
load
resolve
Id
resolve
Rollup
Options
transform
watch
Change
Constructors
constructor
new
EnvironmentPluginContainer
<
Env
extends
Environment
=
Environment
>
()
:
EnvironmentPluginContainer
<
Env
,
>
Type Parameters
Env
extends
Environment
=
Environment
Returns
EnvironmentPluginContainer
<
Env
>
Properties
get
Sorted
Plugin
Hooks
getSortedPluginHooks
:
<
K
extends
keyof
Plugin
<
any
>
>
(
hookName
:
K
,
)
=>
NonNullable
<
HookHandler
<
Plugin
<
any
>
[
K
]
>
>
[]
get
Sorted
Plugins
getSortedPlugins
:
<
K
extends
keyof
Plugin
<
any
>
>
(
hookName
:
K
,
)
=>
PluginWithRequiredHook
<
K
>
[]
minimal
Context
minimalContext
:
MinimalPluginContext$1
<
Env
>
module
Graph
moduleGraph
:
EnvironmentModuleGraph
|
undefined
watch
Files
watchFiles
:
Set
<
string
>
Accessors
options
get
options
()
:
InputOptions
Returns
InputOptions
Methods
build
Start
buildStart
(
_options
?:
InputOptions
)
:
Promise
<
void
>
Parameters
Optional
_options
:
InputOptions
Returns
Promise
<
void
>
close
close
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Module
Info
getModuleInfo
(
id
:
string
)
:
ModuleInfo
|
null
Parameters
id
:
string
Returns
ModuleInfo
|
null
load
load
(
id
:
string
)
:
Promise
<
undefined
|
null
|
string
|
void
|
SourceDescription
>
Parameters
id
:
string
Returns
Promise
<
undefined
|
null
|
string
|
void
|
SourceDescription
>
resolve
Id
resolveId
(
rawId
:
string
,
importer
?:
string
,
options
?:
{
attributes
?:
Record
<
string
,
string
>
;
custom
?:
CustomPluginOptions
;
isEntry
?:
boolean
;
kind
?:
|
"import-statement"
|
"dynamic-import"
|
"require-call"
|
"import-rule"
|
"url-token"
|
"new-url"
|
"hot-accept"
;
skip
?:
Set
<
Plugin
<
any
>
>
;
skipCalls
?:
readonly
SkipInformation
[]
;
}
,
)
:
Promise
<
PartialResolvedId
|
null
>
Parameters
rawId
:
string
Optional
importer
:
string
Optional
options
:
{
attributes
?:
Record
<
string
,
string
>
;
custom
?:
CustomPluginOptions
;
isEntry
?:
boolean
;
kind
?:
|
"import-statement"
|
"dynamic-import"
|
"require-call"
|
"import-rule"
|
"url-token"
|
"new-url"
|
"hot-accept"
;
skip
?:
Set
<
Plugin
<
any
>
>
;
skipCalls
?:
readonly
SkipInformation
[]
;
}
Returns
Promise
<
PartialResolvedId
|
null
>
resolve
Rollup
Options
resolveRollupOptions
()
:
Promise
<
InputOptions
>
Returns
Promise
<
InputOptions
>
transform
transform
(
code
:
string
,
id
:
string
,
options
?:
{
inMap
?:
null
|
string
|
ExistingRawSourceMap
;
moduleType
?:
string
;
}
,
)
:
Promise
<
{
code
:
string
;
map
:
SourceMap
|
{
mappings
:
""
}
|
null
;
moduleType
?:
ModuleType
;
}
,
>
Parameters
code
:
string
id
:
string
Optional
options
:
{
inMap
?:
null
|
string
|
ExistingRawSourceMap
;
moduleType
?:
string
}
Returns
Promise
<
{
code
:
string
;
map
:
SourceMap
|
{
mappings
:
""
}
|
null
;
moduleType
?:
ModuleType
;
}
,
>
watch
Change
watchChange
(
id
:
string
,
change
:
{
event
:
"update"
|
"create"
|
"delete"
}
,
)
:
Promise
<
void
>
Parameters
id
:
string
change
:
{
event
:
"update"
|
"create"
|
"delete"
}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
External
Internal
Beta
Alpha
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
get
Sorted
Plugin
Hooks
get
Sorted
Plugins
minimal
Context
module
Graph
watch
Files
Accessors
options
Methods
build
Start
close
get
Module
Info
load
resolve
Id
resolve
Rollup
Options
transform
watch
Change
Github
KC's Workspace
Loading...