Skip to content

Character encoding at-rule in css from sass breaks sourcemap #430

Description

@JacobDorman

A unicode character in SCSS causes libsass to add @charset "UTF-8"; to the CSS. The sourcemap works correctly.

After running through autoprefixer, the new sourcemap points at the CSS instead of the SCSS.

body {
  background: #BADA55;
  /*  ≠  */
}

grunt-sass@0.18.1 grunt-postcss@0.3.0 with autoprefixer-core@5.1.8

nDmitry/grunt-autoprefixer#88

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions