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

PostCSS reduces SourceMap #797

Open
aslushnikov opened this issue Apr 29, 2016 · 10 comments
Open

PostCSS reduces SourceMap #797

aslushnikov opened this issue Apr 29, 2016 · 10 comments

Comments

@aslushnikov
Copy link

Hi Andrey,

The autoprefixer/postcss turned out to output reduced sourceMap, i.e. it reduces the amount information in the initial sourcemap. The example repo is here: aslushnikov/autoprefixer-breaks-sourcemap

SourceMap without autoprefixer: sourceMap - notice how red sass variable is mapped to css property value.
SourceMap with autoprefixer: sourceMap - notice how mapping is done property-wise.

Could this be fixed?

@ai ai added the enhancement label Apr 29, 2016
@ai ai added this to the 6.0 milestone Apr 29, 2016
@ai
Copy link
Member

ai commented Apr 29, 2016

It will be fixed when we will tokenize values and selectors in 6.0.

@aslushnikov
Copy link
Author

Great, thanks!
cc @paulirish who is interested in this as well.

@paulirish
Copy link

Great to hear! We're shipping some awesome sass editing features in devtools and will be excited to demonstrate it working with autoprefixer in the pipeline. :)

cheers

@matthew-dean
Copy link
Contributor

@paulirish Will you be publishing how Less can be integrated into devtools editing?

@paulirish
Copy link

@matthew-dean perhaps! can you hook me up with a small less app with a watch task that I can try out?

@matthew-dean
Copy link
Contributor

@paulirish You mean like: https://getcrunch.co/, the best Less & Sass editor/compiler app of all time in the history of human civilization? ... I might be biased. 👀

@erquhart
Copy link

erquhart commented Nov 4, 2016

@matthew-dean I think he means a small website/app with styles written in less and a watch task in place via npm-scripts/grunt/gulp.

@yisibl
Copy link
Member

yisibl commented Nov 16, 2016

Chrome 53:

image


image

@ai ai removed this from the 6.0 milestone Apr 14, 2017
@mischnic
Copy link
Contributor

mischnic commented Jan 6, 2019

Any news?

@ai
Copy link
Member

ai commented Jan 6, 2019

@mischnic no news. We need very big refactoring which will bring only few features. This is why it is hard to find somebody to do this refactoring.

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

No branches or pull requests

7 participants