From f70d896839b973fddc39f04d3fa5a302d3991025 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Sat, 15 Oct 2016 13:17:11 -0400 Subject: [PATCH] Removing configs to build styles with gulp --- gulpfile.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index b3e1441..1841a8f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -52,7 +52,7 @@ gulp.task('server', 'Start development server.', ['build'], function() { }); }); -gulp.task('build', 'Build site into ./build directory.', ['static', 'markup', 'styles']); +gulp.task('build', 'Build site into ./build directory.', ['static', 'markup']); gulp.task('static', 'Build static files into ./build directory.', function() { return gulp.src(config.globs.other, { base: './src' }) @@ -93,16 +93,3 @@ gulp.task('markup:svg_styles', false, function() { })) .pipe(gulp.dest('./tmp/build')) }); - -gulp.task('styles', 'Build stylesheets into ./build directory.', function() { - return gulp.src('./src/sass/main.scss', { base: '.' }) - .pipe(sourcemaps.init()) - .pipe(sass({ - includePaths: bourbon.includePaths, - outputStyle: 'compressed' - })) - .on('error', notify.onError()) - .pipe(rename({ dirname: '' })) - .pipe(sourcemaps.write('.')) - .pipe(gulp.dest(config.buildPath('css'))) -});