Skip to content

Commit 3b945ad

Browse files
committed
Remove an unused require in build.js
1 parent 5fc8a8f commit 3b945ad

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

scripts/build.js

-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ import path from "path";
33
import { fileURLToPath } from "url";
44
import esbuild from "esbuild";
55
import { globSync } from "glob";
6-
import { createRequire } from "module";
76
import { stdoutColors } from "../util/terminal.js";
87

98
import {buildWeb} from "./build-web.js";
109
import * as dts from "./build-dts.js";
1110

12-
const require = createRequire(import.meta.url);
1311
const dirname = path.dirname(fileURLToPath(import.meta.url));
1412
const watch = process.argv[2] === "--watch";
1513

0 commit comments

Comments
 (0)