diff --git a/gulpfile.js b/gulpfile.js index 44cead7..eb085ac 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -74,7 +74,7 @@ gulp.task('html', function() { return gulp.src(getViewFiles(dirs.viewSrc, 'pug')) .pipe(pug({ pretty: true, - locals: require(locals) + locals: locals })) .pipe(gulp.dest(dirs.viewDst)); });