uswds / uswds-compile

Simple Gulp 4 functions for copying USWDS static assets and transforming USWDS Sass into browser-readable CSS.
Other
21 stars 12 forks source link

USWDS-Compile - Feature: Allow disabling sourcemaps #70

Closed rayestrada closed 1 month ago

rayestrada commented 1 year ago

Is your feature request related to a problem? Please describe.

When using this tool in our USWDS + Drupal + static site generation setup the .map sourcemap files aren't copied over because they are comments in the css and not actual source file references. This causes the .map files to be listed as missing in the console. If we can conditionally disable sourcemaps as an option then we would not have missing files in the console log.

Describe the solution you'd like

Add an option to disable sourcemaps in the output css.

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

amyleadem commented 1 month ago

Moving this issue back into "Review" status while we investigate the issue flagged in PR #103.

amyleadem commented 1 month ago

Moving this back into "Fed final" since we have a proposed fix in #110