Skip to content

Commit 93abba9

Browse files
committed
chore(deps): change require to import
1 parent c63cde9 commit 93abba9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gulpfile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"use strict";
22

3+
import { deleteSync } from 'del';
4+
35
const connect = require("gulp-connect");
46
const path = require("path");
57
const gulp = require("gulp");
6-
const del = require("del");
78

89
const build = require("./tasks/build");
910
const buildPreview = require("./tasks/build-preview");
@@ -27,7 +28,7 @@ const jsFiles = [
2728
];
2829

2930
gulp.task("clean", function () {
30-
return del(["./public/**", "./build/**"]);
31+
return deleteSync(["./public/**", "./build/**"]);
3132
});
3233

3334
gulp.task("lint:css", () => lintCss(`${srcDir}/css/**/*.css`));

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"name": "owncloud-docs-ui",
44
"description": "The ownCloud documentation UI",
55
"version": "1.0.0",
6+
"type": "module",
67
"license": "AGPL-3.0",
78
"author": "The ownCloud Team <[email protected]>",
89
"homepage": "https://github.com/owncloud/docs-ui#readme",

0 commit comments

Comments
 (0)