uswds / uswds-compile

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

Support nodejs not end of life #45

Closed mejiaj closed 2 years ago

mejiaj commented 2 years ago

This PR uses replace() instead of replaceAll() for node 14. We used this function to remove the extra possible / in path settings. Closes #39.

How to test

  1. Clone test repo - https://github.com/mejiaj/gulp-sandbox/tree/feature/uswds-compile-39-replaceall
  2. Checkout uswds-compile-39-replaceall branch
  3. Install node v14 (I used NVM)
  4. Run npm install
  5. Follow README.md instructions or install this branch
  6. Run npx gulp initUSWDS without any errors