Webpack warnings cannot be matched #9599
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
*question
Issue represents a question, should be posted to StackOverflow (VS Code)
tasks
Task system issues
I am using webpack to build and pack up my application. Webpack produces warnings in the following format when you accidentally use an import with the wrong case in the file path: (i.e. ./Components/SomeComponent vs ./components/SomeComponent)
Now when I try to use the following problem matcher for this:
I get the following message when trying to build the project:
So it seems that the problem matcher validation logic requires that there is a location (line,col) for a rule to be valid. Couldn't the default just being the first line / column of a file so that the matcher could handle scenarios like this where its a file in general that produces the warning?
I admit, I feel like Webpack's warning should include a line/col as it is complaining about a specific import. But it would also be nice to be able to handle plugins that aren't necessarily being good citizens with respects to the output they surface.
The text was updated successfully, but these errors were encountered: