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 93abba9
Show file tree
Hide file tree
Showing 2 changed files with 4 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
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"name": "owncloud-docs-ui",
"description": "The ownCloud documentation UI",
"version": "1.0.0",
"type": "module",
"license": "AGPL-3.0",
"author": "The ownCloud Team <[email protected]>",
"homepage": "https://github.com/owncloud/docs-ui#readme",
Expand Down

0 comments on commit 93abba9

Please sign in to comment.