eamodio / vscode-tsl-problem-matcher

TypeScript + Webpack Problem Matchers for VS Code
MIT License
44 stars 9 forks source link

Updated the end message pattern and the readme for changes in webpack 5 #5

Open SteveBenz opened 3 years ago

SteveBenz commented 3 years ago

Webpack 5.11 ends unsuccessful compiles with:

ERROR in E:\repos\electron-template\src\renderer\renderer.tsx ./src/renderer/renderer.tsx [tsl] ERROR in E:\repos\electron-template\src\renderer\renderer.tsx(9,3) TS2304: Cannot find name '#'.

webpack 5.11.0 compiled with 6 errors in 3860 ms

It also doesn't support the --info-verbosity flag that the readme suggests is crucial. (Fortunately, it seems not to be needed anymore).

SteveBenz commented 3 years ago

Newb alert! I'm just learning about webpack & many related technologies, so don't trust my work. I was able to test that line 70 fixes the issue (by manually altering the file in my user profile), but the other stuff I don't know how to set up to properly test.