Skip to content

Add map option to PostCSS options. #4980

@tech4him1

Description

@tech4him1

There is currently a no-map setting allowed for PostCSS, which disables the inline sourcemaps. However there is no options for having external sourcemaps generated. Looking into the PostCSS docs and the postcss-cli code, it looks like a --map option can be passed to the CLI to enable "separate-file" sourcemaps.CLI code docs

I request that a "map" option is added along-side the "noMap" option that can already be passed into the PostCSS resource function.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions