Skip to content

Commit

Permalink
directly import normalize from the node_modules path (#10204)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin authored Oct 18, 2021
1 parent b06454b commit 383eef7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,11 @@ gulp.task("dist:js", () => {

gulp.task("dist:noscript", () => {
let sassPath = path.join(staticPrefix, "sass");
let nodeModules = "node_modules";

return gulp.src(path.join(sassPath, "noscript.scss"))
.pipe(sourcemaps.init())
.pipe(
sass({ includePaths: [sassPath, nodeModules] })
sass({ includePaths: [sassPath] })
.on("error", sass.logError))
.pipe(postcss(postCSSPlugins))
.pipe(sourcemaps.write("."))
Expand Down
2 changes: 1 addition & 1 deletion warehouse/static/sass/warehouse.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

// RESETS LAYER: applies CSS resets and sensible defaults
@import "resets/boxsizing";
@import "normalize.css/normalize.css";
@import "node_modules/normalize.css/normalize";
@import "resets/reset";

// BASE LAYER: adds styles to anything without a class
Expand Down

0 comments on commit 383eef7

Please sign in to comment.