This Visual Studio Code extension provides problem matchers for TypeScript projects built with esbuild.
The following problem matchers are available and work out of the box.
$ts-esbuild
(when running esbuild normally)$ts-esbuild-watch
(when running esbuild in--watch
mode)
Here's an example of how to use both problem matchers in your tasks.json
file.
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"group": "build",
"problemMatcher": ["$ts-esbuild"]
},
{
"type": "npm",
"script": "watch",
"group": "build",
"isBackground": true,
"problemMatcher": ["$ts-esbuild-watch"]
}
]
}
The problem matchers have been tested on the latest version of esbuild available
at the time, which is: 0.14
. If the matchers stop working in a future version,
please open an issue or a pull request so it can be kept up to date.
This extension is open-sourced software licensed under the MIT license.