mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
298acda3b1
Showing compilation errors for files that aren't currently open is very useful during refactorings. https://github.com/user-attachments/assets/629f8f2a-37ba-44c1-be6d-9a2e0f93e4f1
32 lines
658 B
JSON
32 lines
658 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "types",
|
|
"command": "pnpm",
|
|
"args": ["typescript", "--watch"],
|
|
"isBackground": true,
|
|
"group": {
|
|
"kind": "build"
|
|
},
|
|
"problemMatcher": ["$tsc-watch"]
|
|
},
|
|
{
|
|
"label": "types-next",
|
|
"command": "pnpm",
|
|
"args": ["types", "--watch"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/packages/next"
|
|
},
|
|
"isBackground": true,
|
|
"group": {
|
|
"kind": "build"
|
|
},
|
|
"problemMatcher": {
|
|
"base": "$tsc-watch",
|
|
"fileLocation": ["relative", "${workspaceFolder}/packages/next"]
|
|
}
|
|
}
|
|
]
|
|
}
|