From 6aafaaacaeaf71af074647faee830fb547cbb2f7 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Fri, 21 Jul 2023 21:15:12 +0200 Subject: [PATCH] Changed import of paths --- _assets/gulp_config/paths.js | 4 ++-- gulpfile.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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");