Skip to content

Instantly share code, notes, and snippets.

View juanlcoto's full-sized avatar

Juan Luis Coto juanlcoto

View GitHub Profile
@juanlcoto
juanlcoto / gulpfile.js
Created June 23, 2020 12:25 — forked from jasonyingling/gulpfile.js
A simple gulpfile setup for modern JavaScript and SASS
const { src, dest, watch } = require('gulp');
const sass = require('gulp-sass');
const minifyCSS = require('gulp-csso');
const babel = require('gulp-babel');
const concat = require('gulp-concat');
const browserSync = require('browser-sync').create();
function css() {
return src('./sass/*.scss', { sourcemaps: true })
.pipe(sass())