Skip to content

Commit

Permalink
Merge pull request #14 from uswds/release-1.0.0-beta.2
Browse files Browse the repository at this point in the history
USWDS Compile Beta 2
  • Loading branch information
thisisdano committed Mar 16, 2022
2 parents fd0fbcd + 96cef0c commit 67e1f8d
Show file tree
Hide file tree
Showing 3 changed files with 456 additions and 180 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const csso = require("postcss-csso");
const { src, dest, series, parallel, watch } = require("gulp");
const postcss = require("gulp-postcss");
const replace = require("gulp-replace");
const sass = require("gulp-sass")(require("sass"));
const sass = require("gulp-sass")(require("sass-embedded"));
const sourcemaps = require("gulp-sourcemaps");
const del = require("del");
const svgSprite = require("gulp-svg-sprite");
Expand Down Expand Up @@ -163,7 +163,7 @@ function buildSass() {
src([`${paths.dist.theme}/*.scss`.replaceAll("//", "/")])
.pipe(sourcemaps.init({ largeFile: true }))
.pipe(
sass.sync({ includePaths: buildSettings.includes })
sass({ includePaths: buildSettings.includes })
.on("error", handleError)
)
.pipe(replace(/\buswds @version\b/g, `based on uswds v${pkg}`))
Expand Down
Loading

0 comments on commit 67e1f8d

Please sign in to comment.