Module: @ima/plugin-cli
Interfaces
Type Aliases
Command
Ƭ Command: "dev"
| "link"
| "build"
Defined in
packages/plugin-cli/src/types.ts:16
Plugin
Ƭ Plugin: (context
: Context
) => void
| Promise
<void
>
Type declaration
▸ (context
): void
| Promise
<void
>
Parameters
Name | Type |
---|---|
context | Context |
Returns
void
| Promise
<void
>
Defined in
packages/plugin-cli/src/types.ts:67
Transformer
Ƭ Transformer: ({
source,
context,
}
: { context
: PipeContext
; source
: Source
}) => Source
| Promise
<Source
>
Type declaration
▸ ({
source,
context,
}
): Source
| Promise
<Source
>
Parameters
Name | Type |
---|
| {
source,
context,
}
| Object
|
| {
source,
context,
}.context
| PipeContext
|
| {
source,
context,
}.source
| Source
|
Returns
Defined in
packages/plugin-cli/src/types.ts:4
TransformerOptions
Ƭ TransformerOptions: Object
Type declaration
Name | Type |
---|---|
test | RegExp |
Defined in
packages/plugin-cli/src/types.ts:11
Variables
clientServerConfig
• Const
clientServerConfig: ImaPluginConfig
Defined in
packages/plugin-cli/src/utils/configurations.ts:40
defaultConfig
• Const
defaultConfig: ImaPluginConfig
Defined in
packages/plugin-cli/src/utils/configurations.ts:6
nodeConfig
• Const
nodeConfig: ImaPluginConfig
Defined in
packages/plugin-cli/src/utils/configurations.ts:68
Functions
typescriptDeclarationsPlugin
▸ typescriptDeclarationsPlugin(options
): Plugin
Parameters
Name | Type |
---|---|
options | TypescriptDeclarationsPluginOptions |
Returns
Defined in
packages/plugin-cli/src/plugins/typescriptDeclarationsPlugin.ts:14