Visitar URL original
PostCSS reduces SourceMap · Issue #797 · postcss/postcss · GitHub
Skip to content

PostCSS reduces SourceMap #797

Description

@aslushnikov

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?

Activity

  1. added this to the 6.0 milestone on Apr 29, 2016
  2. ai commented on Apr 29, 2016

    @ai
    Member

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

  3. aslushnikov commented on Apr 29, 2016

    @aslushnikov
    Author

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

  4. paulirish commented on Apr 30, 2016

    @paulirish

    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

  5. matthew-dean commented on May 10, 2016

    @matthew-dean
    Contributor

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

  6. paulirish commented on May 17, 2016

    @paulirish

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

  7. matthew-dean commented on May 17, 2016

    @matthew-dean
    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. 👀

  8. erquhart commented on Nov 4, 2016

    @erquhart

    @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.

  9. yisibl commented on Nov 16, 2016

    @yisibl
    Contributor

    Chrome 53:

    image


    image

  10. removed this from the 6.0 milestone on Apr 14, 2017
  11. mischnic commented on Jan 6, 2019

    @mischnic
    Contributor

    Any news?

  12. ai commented on Jan 6, 2019

    @ai
    Member

    @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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions