diff options
author | Camil Staps | 2018-09-02 23:03:09 +0200 |
---|---|---|
committer | Camil Staps | 2018-09-02 23:03:09 +0200 |
commit | 3e904940b9b4b76c12caeb18fac57e3ad59fe837 (patch) | |
tree | f42dcbf4cebe953ef9b5914e195b2ada3110e89d /gulpfile.js | |
parent | Use ndash where applicable (diff) |
Drop bower
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gulpfile.js b/gulpfile.js index 891a759..09dd8f8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,5 +1,4 @@ var gulp = require('gulp'), - bower = require('gulp-bower'), changed = require('gulp-changed'), pug = require('gulp-pug'), minifyhtml = require('gulp-minify-html'), @@ -8,8 +7,7 @@ var gulp = require('gulp'), var config = { sassPath: './resources/sass', - pugPath: './resources/pug', - bowerDir: './bower_components' + pugPath: './resources/pug' } gulp.task('watch', function() { @@ -17,12 +15,7 @@ gulp.task('watch', function() { gulp.watch(config.pugPath + '/**/*.pug', ['pug']); }); -gulp.task('default', ['bower', 'css', 'pug', 'img', 'fonts']); - -gulp.task('bower', function() { - return bower() - .pipe(gulp.dest(config.bowerDir)); -}); +gulp.task('default', ['css', 'pug', 'img', 'fonts']); gulp.task('css', function() { return gulp.src(config.sassPath + '/style.scss') @@ -30,7 +23,7 @@ gulp.task('css', function() { style: 'compressed', loadPath: [ './resources/sass', - config.bowerDir + '/bootstrap-sass-official/assets/stylesheets' + './node_modules/bootstrap-sass/assets/stylesheets' ] }) .on('error', notify.onError(function (error) { |