Skip to content

Commit 8e55358

Browse files
authored
Clean up unnecessary dependencies (#522)
1 parent f568de5 commit 8e55358

8 files changed

Lines changed: 20 additions & 294 deletions

File tree

bundleLiteAssets.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// at the root directory of this project.
77

88
import download from "download";
9-
import fs from "fs-extra";
9+
import fs from "fs";
1010
import path from "path";
1111

1212
// Constants
@@ -58,7 +58,7 @@ if (fs.existsSync(liteAssetsPath)) {
5858
}
5959

6060
// Copy basic bundled assets
61-
fs.copySync(bundledAssetsPath, liteAssetsPath);
61+
fs.cpSync(bundledAssetsPath, liteAssetsPath, { recursive: true });
6262

6363
// Download GitHub assets
6464
githubAssetNames.forEach((asset) => {

getLicenses.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// at the root directory of this project.
77

88
import fs from "fs";
9-
import fetch from "node-fetch";
109
import path from "path";
1110

1211
let licenses = [];

0 commit comments

Comments
 (0)