diff --git a/gulpfile.js b/gulpfile.js index e7052cedf..d80023fc6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -131,9 +131,7 @@ const dest = lazyFn(function () { } const opts = { - sourcemaps: { - path: '.', - }, + sourcemaps: '.', } return PRODUCTION @@ -238,7 +236,7 @@ function browserify (path, opts) { gulp.task(function buildPages () { return pipe( - src('index.pug', { sourcemaps: true }), + src('index.pug'), require('gulp-pug')(), DEVELOPMENT && require('gulp-embedlr')({