-
Notifications
You must be signed in to change notification settings - Fork 77
Loader string attached to file path #15
Comments
Yes it should be! |
I'm working in a private repo and I can't make it public, but I should be able to arrange something that works the same way and publish it somewhere else. |
I've just created a very simple repo with a webpack structure that shows this issue. The code that comes from the Repository: https://github.com/MatteoGabriele/webpack-dev-server-test/tree/master |
Should be fixed in 1.1.3. |
I mean your repro was superb (thanks btw!), but I don't want to include the whole vue setup in the tests so I have to look for even simpler |
Thanks a lot! |
Actually on the repo I wrote for this issue, everything works perfectly, not even that kind of stack trace at the bottom. But in the project I'm writing that part is there. Let me know if you have any idea, in the meantime I will write a less heavy repo to see if i can reproduce it. |
Thanks for your involvement @MatteoGabriele, really appreciated. I suspect the "stack trace" is the origin of the error. It is unclear in which context webpack provides this information. In all cases, simple repros are really important as webpack is kind of a black box we have to build on. |
Yeah would be nice to have an optional stack trace log. |
Nothing I tried several setup but, can't reproduce the errors without adding Thanks again for your quick updates. |
when applying loaders with few options, the output of the file path is usually pretty long because is holding the entire loader string with it.
Example of a warning prompt by eslint
Is it possible to extract only the actual file path, in this case
/src/app/page/home/home.js
, without its entire loader string?The text was updated successfully, but these errors were encountered: