Configurations
Plugin options
Attribute | Type | Default | Description |
---|---|---|---|
prefix / suffix | string | "" | custom prefix and suffix |
disableLaunchEditor | boolean | false | Wheather to disable launch editor feature |
specifiedEditor | string | "" | Specify the editor. All supported editors |
disableHighlight | boolean | false | Wheather to disable highlight output feature |
port | number | 3070 | Specify the plugin's service port number |
extendedPathFileNames | string[] | [] | Extended path file names |
babelParserPlugins | ParserPlugin[] | ["typescript", "jsx"] | The incoming value will be automatically merged with the default value. All babel parser plugins |
disablePassLogs | boolean | false | Wheather to disable Pass Logs feature |
silent | boolean | false | Avoid the plugin's terminal output at project startup |
TypeScript
There are two ways to configure the TypeScript type:
json
{
"compilerOptions": {
"types": [
"unplugin-turbo-console/client"
]
}
}
Or
ts
/// <reference types="unplugin-turbo-console/client" />