Skip to content

Commit

Permalink
Merge pull request #1751 from weather-gov/eg-gulp-esm-fix
Browse files Browse the repository at this point in the history
[HOTFIX] CSS Building / Gulpfile fix
  • Loading branch information
eric-gade authored Sep 12, 2024
2 parents 793ab11 + bd94084 commit c2a244f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/themes/new_weather_theme/gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const uswds = require("@uswds/compile");
import uswds from "@uswds/compile";

uswds.settings.version = 3;

Expand All @@ -8,6 +8,6 @@ uswds.paths.dist.img = "./assets/images/uswds/";
uswds.paths.dist.fonts = "./assets/fonts";
uswds.paths.dist.js = "./assets/js";

exports.compile = uswds.compile;
exports.init = uswds.init;
exports.watch = uswds.watch;
export const compile = uswds.compile;
export const init = uswds.init;
export const watch = uswds.watch;

0 comments on commit c2a244f

Please sign in to comment.