Created by: Timer
The lengths we go to for user experience...
Somewhere along the line, webpack started formatting module/file not found errors without specifying where the request came from!
We needed to intercept calls from the compilation which exposed ModuleNotFoundError
and edit the Error
's message to include relevant information.
We should probably send a pull request to webpack in the future and revert this hack.
This PR also corrects a bunch of other output from common errors.