This commit is contained in:
Rachid Mrad 2024-11-18 19:46:40 -05:00
parent 6d8057255e
commit 4dec61990c
No known key found for this signature in database
2 changed files with 0 additions and 6 deletions

View file

@ -65,11 +65,6 @@ gulp.task('watch-js', () => {
/**
* Combine all watch tasks
* Using gulp outside of uswds compile's dependencies seems to leverage a different sass compiler
* The more up-to-date compiler triggers mixed declarations deprecation warnings
* We expect this to be resolved in a future uswds release on the code side: https://github.com/uswds/uswds/issues/5980
* USWDS internally uses its version of Dart Sass (sass), and the USWDS compilation process expects a specific Sass behavior.
* Babel/Webpack introduces loaders (sass-loader or similar) that interact with Sass. If a newer version of Sass is used due to dependency resolution, the new Sass behavior applies, leading to the warnings.
*/
gulp.task('watch', gulp.parallel('watch-js', uswds.watch));

File diff suppressed because one or more lines are too long