Last active
April 7, 2020 12:42
-
-
Save n-peugnet/54e160151fd6722475b328fbd8d21147 to your computer and use it in GitHub Desktop.
webpack typescript ts-loader problem matcher for vscode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"watch": "webpack --watch" | |
}, | |
"devDependencies": { | |
"ts-loader": "^5.3.3", | |
"typescript": "^3.4.4", | |
"webpack": "^4.24.0", | |
"webpack-cli": "^3.1.2" | |
}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "watch", | |
"type": "npm", | |
"script": "watch -- --info-verbosity verbose", | |
"group": "build", | |
"isBackground": true, | |
"problemMatcher": { | |
"owner": "typescript", | |
"severity": "error", | |
"fileLocation": "absolute", | |
"pattern": [ | |
{ | |
"regexp": "^\\[tsl\\] ERROR in (.*)\\((\\d+),(\\d+)\\)$", | |
"file": 1, | |
"line": 2, | |
"column": 3, | |
}, | |
{ | |
"regexp": "^\\s+(TS\\d+):\\s(.*)$", | |
"code": 1, | |
"message": 2 | |
} | |
], | |
"background": { | |
"activeOnStart": true, | |
"beginsPattern": "Compilation starting…", | |
"endsPattern": "Compilation finished" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment