summaryrefslogtreecommitdiffhomepage
path: root/gulpfile.js
diff options
context:
space:
mode:
authorCamil Staps2021-06-23 09:02:01 +0200
committerCamil Staps2021-06-23 09:02:01 +0200
commit66fb01b7db21d6c05cfe42285d00dae55d99fd6f (patch)
tree00705fa4877d31b47050d600c49d8d577a89e30b /gulpfile.js
parentAdd months to employment history (diff)
Cleanup build infrastructure
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js10
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;