From baf21389200d2e7c6955ecb68ec41355bf65f185 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 30 Nov 2016 13:17:29 +0000 Subject: [PATCH] Move config back into gulpfile --- gulpfile.config.js | 17 ----------------- gulpfile.js | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 gulpfile.config.js diff --git a/gulpfile.config.js b/gulpfile.config.js deleted file mode 100644 index ec904ad6..00000000 --- a/gulpfile.config.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = function(plugins) { - return { - bowerDir: 'vendor/bower_components', - fontsDir: 'source/assets/fonts', - js: { - sourceDir: 'assets/js', - outputDir: 'source/assets/js', - pattern: '/**/*.js' - }, - production: !!plugins.util.env.production, - sass: { - sourceDir: 'assets/sass', - pattern: '/**/*.sass', - outputDir: 'source/assets/css' - } - }; -} diff --git a/gulpfile.js b/gulpfile.js index 829c4749..c32ea92d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -2,9 +2,23 @@ var gulp = require('gulp'); var plugins = require('gulp-load-plugins')(); -var config = require('./gulpfile.config')(plugins); var del = require('del'); +var config = { + bowerDir: 'vendor/bower_components', + fontsDir: 'source/assets/fonts', + js: { + sourceDir: 'assets/js', + outputDir: 'source/assets/js', + pattern: '/**/*.js' + }, + production: !!plugins.util.env.production, + sass: { + sourceDir: 'assets/sass', + pattern: '/**/*.sass', + outputDir: 'source/assets/css' + } +}; var app = {}; app.sass = function(paths, filename) {