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 - Bugfix: Fix sourcemaps pathing #79

Closed mejiaj closed 9 months ago

mejiaj commented 9 months ago

Sourcemaps show correct paths. Generated CSS now points to the correct source locations. Closes #61.

How to test

  1. Checkout jm-test-compile-sourcemaps-fix from uswds/uswds-site repo.
  2. Run npm install && npm start.
  3. Visit /documentation/settings/ page.
  4. Scroll down to yellow alert.
  5. In the inspector, verify that site-note correctly points to _uswds-theme-custom-styles.scss (i.e. that the sourcemaps link is now correct)