tsup Problem Matchers for VS Code
Provides problem matchers for use with tsup projects.
Features
Provides the following problem matchers:
- $tsup — adds errors and warnings reported by tsup
- $tsup-watch — adds errors and warnings reported by tsup while in watch mode
- $tsup-tsc — adds TypeScript errors and warnings reported by tsup when
--dts
is enabled.
- $tsup-tsc-watch — adds TypeScript errors and warnings reported by tsup when
--dts
is enabled while in watch mode.
Usage
The following example shows how to add problem matchers to your project:
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"label": "npm: watch",
"detail": "tsup --watch",
"script": "watch",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$tsup-watch",
"$tsup-tsc-watch"
],
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
},
{
"type": "npm",
"label": "npm: build",
"detail": "tsup",
"script": "build",
"group": "build",
"problemMatcher": [
"$tsup",
"$tsup-tsc"
]
}
]
}