Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Sass
- gulp.task('sass', function() {
- gulp.src('./assets/scss/**/**/*.scss')
- .pipe(sass().on('error', function (err) {
- sass.logError(err);
- this.emit('end');
- }))
- .pipe(autoprefixer('last 2 versions'))
- .pipe(rename('theme.scss.liquid'))
- .pipe(replace('"{{', '{{'))
- .pipe(replace('}}"', '}}'))
- .pipe(gulp.dest('./assets/'));
- });
- gulp.task('watch', function() {
- gulp.watch('./assets/scss/**/**/*.scss', gulp.series('sass'));
- });
- [12:55:33] Starting 'watch'...
- [12:55:37] Starting 'sass'...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement