This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 516
devtool:'source-map' cause emitting map file for less in very wrong place #24
Comments
I tried it with you testcase but it works fine:
Are all your dependencies up to date? |
I think so, I am using exact same copy of test case as you do (including Here is complete output, for every step. It might clarify something. Step1 - initial
step2 - syntax mistake created in less file
step 3 - syntax corrected
|
ah ok... i missed the syntax error step... |
This was a tricky one... 😄 |
Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Here is example project https://dl.dropboxusercontent.com/u/12126978/webpack-test.zip
To reproduce problem:
npm install
webpack
I noticed that this issue happen only if
devtool: 'source-map'
. I would love to have map files also for less, but this option should apply only for js file, right? I guess that creating source map files for less is outstanding: webpack-contrib/less-loader#16 . So really not sure what happens here :-). Let me know if you can reproduce it.Here is webpack config:
The text was updated successfully, but these errors were encountered: