diff --git a/gulpfile.js b/gulpfile.js index e9989f30..bd91bf07 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -39,7 +39,7 @@ gulp.task('scss', () => { .pipe( replace(/@(import|use) '~.+'/g, (match) => match.replace('~', NODE_MODULES_DIR + '/')), ) - .pipe(sass()) + .pipe(sass({loadPaths: [NODE_MODULES_DIR]})) .pipe(gulp.dest(BUILD_DIR_CJS)) .pipe(gulp.dest(BUILD_DIR_ESM)) .pipe(concat('styles.css')) // also bundle all css to single file