You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...and then use Chrome inspector to find the ruleset, I find it is always at the end of the file. However when I nest the entire ruleset in a media query like so:
...there is no problem and can find the ruleset on the correct line in the sourcemap, as opposed to at the end of the file.
If it helps I am using Node and compile Less v2.5.3 using grunt and the plugin grunt-contrib-less, I'm not sure if it is a Less issue and was wondering if this is something to be expected with Less sourcemaps.
The text was updated successfully, but these errors were encountered:
morganfeeney
changed the title
Sourcemap will not link to correct line if media query is inside selector
Sourcemap will not link to correct line if media query is nested inside selector
Oct 11, 2016
When I compile Less with a sourcemap, and in the less file nest a media query inside a selector like so:
...and then use Chrome inspector to find the ruleset, I find it is always at the end of the file. However when I nest the entire ruleset in a media query like so:
...there is no problem and can find the ruleset on the correct line in the sourcemap, as opposed to at the end of the file.
If it helps I am using Node and compile Less v2.5.3 using grunt and the plugin grunt-contrib-less, I'm not sure if it is a Less issue and was wondering if this is something to be expected with Less sourcemaps.
The text was updated successfully, but these errors were encountered: