Created
July 9, 2020 12:12
-
-
Save Akhigbe-E/162700c5dd5d63260a1001b5e49f1572 to your computer and use it in GitHub Desktop.
Gulp sass added
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const gulp = require('gulp') | |
const sass = require('gulp-sass') | |
const transpileSassToCss = (cb) => { | |
return gulp.src(`src/sass/main.scss`) | |
.pipe(sass()) | |
.pipe(gulp.dest(`src/css`)) | |
} | |
exports.default = transpileSassToCss; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment