Skip to content

Source map error after enabling autoperfixer #116

@rylwl

Description

@rylwl

I found that after configuring "autoprefixer": "> 5%, last 2 Chrome versions, not ie 6-9" and compiling the less file, the line number corresponding to the style I saw in the developer tools when opening the browser was incorrect

My Settings.json

{
  "less.compile": {
    "compress": false, // true => remove surplus whitespace
    "sourceMap": true, // true => generate source maps (.css.map files)
    "sourceMapFileInline": false, // true => embed sourceMappingUrl as dataURI
    "out": true, // false => DON'T output .css files (overridable per-file, see below)
    "autoprefixer": "> 5%, last 2 Chrome versions, not ie 6-9"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions