bazelbuild / rules_postcss

PostCSS rules for Bazel
Apache License 2.0
10 stars 13 forks source link

Change the way source maps are handled #32

Closed nex3 closed 4 years ago

nex3 commented 4 years ago

This changes the "map_annotation" flag to a "sourcemap" flag. This allows users to disable sourcemap generation entirely (and delete existing source map comments) by passing "sourcemap = False", or to generate new sourcemaps and update the annotation if necessary by passing "sourcemap = True". I don't think there's any need to keep an existing annotation without generating a new source map, which is what the old "map_annotation = False" behavior did.

Closes #20