diff --git a/_assets/gulp_config/paths.js b/_assets/gulp_config/paths.js index d5fe99f..b97de49 100644 --- a/_assets/gulp_config/paths.js +++ b/_assets/gulp_config/paths.js @@ -2,7 +2,7 @@ // paths.js file -let paths = {}; +const paths = {}; // Directory locations. paths.assetsDir = "_assets/"; // The files Gulp will handle. @@ -70,4 +70,4 @@ paths.sprocketsDirs = { images: [] }; -module.exports = paths; +export {paths}; diff --git a/gulpfile.js b/gulpfile.js index c25a5ac..94fd619 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,7 +19,7 @@ import sourcemaps from "gulp-sourcemaps"; import terser from "gulp-terser"; // Include paths file. -import * as paths from "./_assets/gulp_config/paths"; +import {paths} from "_assets/gulp_config/paths"; import {render} from "node-sass"; const browserSync = create("gulpfile");