Skip to content

Configurations

Plugin options

AttributeTypeDefaultDescription
prefix / suffixstring""custom prefix and suffix
disableLaunchEditorbooleanfalseWheather to disable launch editor feature
specifiedEditorstring""Specify the editor. All supported editors
disableHighlightbooleanfalseWheather to disable highlight output feature
portnumber3070Specify the plugin's service port number
extendedPathFileNamesstring[][]Extended path file names
babelParserPluginsParserPlugin[]["typescript", "jsx"]The incoming value will be automatically merged with the default value. All babel parser plugins
disablePassLogsbooleanfalseWheather to disable Pass Logs feature
silentbooleanfalseAvoid the plugin's terminal output at project startup

TypeScript

There are two ways to configure the TypeScript type:

tsconfig.json
json
{
  "compilerOptions": {
    "types": [
      "unplugin-turbo-console/client"
    ]
  }
}

Or

*.d.ts
ts
/// <reference types="unplugin-turbo-console/client" />

Made with ❤️