From 6bd5c287c52d046245fcf2d5810d3314f00c6c09 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 8 Oct 2024 09:18:40 +0545 Subject: [PATCH] chore(deps): change require to import --- gulpfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 7983902..e122e5b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,9 +1,10 @@ "use strict"; +import {deleteSync} from 'del'; + const connect = require("gulp-connect"); const path = require("path"); const gulp = require("gulp"); -const del = require("del"); const build = require("./tasks/build"); const buildPreview = require("./tasks/build-preview"); @@ -27,7 +28,7 @@ const jsFiles = [ ]; gulp.task("clean", function () { - return del(["./public/**", "./build/**"]); + return deleteSync(["./public/**", "./build/**"]); }); gulp.task("lint:css", () => lintCss(`${srcDir}/css/**/*.css`));