Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.map indicating wrong lines in less files #435

Open
lukaszwado opened this issue Jul 17, 2015 · 3 comments
Open

.map indicating wrong lines in less files #435

lukaszwado opened this issue Jul 17, 2015 · 3 comments

Comments

@lukaszwado
Copy link

I downloaded latest version of Koala and I have problem with LESS compiler. After compilation .map links my styles to completely different places in LESS files than it suppose to.

Topic on StacOverflow:
http://stackoverflow.com/questions/31478676/map-file-poiting-wrong-lines-after-less-css-compilation?noredirect=1#comment50924341_31478676

@lukaszwado
Copy link
Author

Finally I realized that issue happen only if I have turn on auto prefixes.
What Koala probably does is compile less first, create .map file and then add prefixes what obviously will change the lines which should be indicated by .map.

@schwabsimon
Copy link

Same here with the Sass compiler. With autoprefix on, the source map is off and unusable.

@indextwo
Copy link

+1 this is still an issue in 2019. I was baffled as to why my source map was so wildly off with my SCSS files, but as @schwabsimon and @lukaszwado stated: with autoprefix turned on, the source map is way off. Turn autoprefix off and the source map is fine.

For reference I'm using the latest version as of June 2019: v2.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants