Skip to content

Commit

Permalink
chore(deps): change require to import
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Oct 8, 2024
1 parent c63cde9 commit d76b301
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -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");
Expand All @@ -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`));
Expand Down

0 comments on commit d76b301

Please sign in to comment.