diff options
author | Camil Staps | 2021-06-23 09:02:01 +0200 |
---|---|---|
committer | Camil Staps | 2021-06-23 09:02:01 +0200 |
commit | 66fb01b7db21d6c05cfe42285d00dae55d99fd6f (patch) | |
tree | 00705fa4877d31b47050d600c49d8d577a89e30b /gulpfile.js | |
parent | Add months to employment history (diff) |
Cleanup build infrastructure
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gulpfile.js b/gulpfile.js index 5621ff5..f6eef2d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,13 +1,13 @@ var gulp = require('gulp'), changed = require('gulp-changed'), - pug = require('gulp-pug-3'), minifyhtml = require('gulp-minify-html'), notify = require('gulp-notify'), + pug = require('gulp-pug-3'), sass = require('gulp-sass-next'); var config = { + pugPath: './resources/pug', sassPath: './resources/sass', - pugPath: './resources/pug' } function css() { @@ -16,9 +16,7 @@ function css() { outputStyle: 'compressed', includePaths: [ './resources/sass', - './node_modules/bootstrap-sass/assets/stylesheets', - './node_modules/@fortawesome/fontawesome-free/scss', - './node_modules/academicons/css' + './node_modules' ] }) .on('error', notify.onError(function (error) { @@ -61,8 +59,8 @@ function fonts() { } function watch() { - gulp.watch(config.sassPath + '/**/*.scss', css); gulp.watch(config.pugPath + '/**/*.pug', html); + gulp.watch(config.sassPath + '/**/*.scss', css); } exports.css = css; |