We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc7962e commit 5d7615dCopy full SHA for 5d7615d
1 file changed
esbuild.config.mjs
@@ -1,6 +1,6 @@
1
import esbuild from "esbuild";
2
import process from "process";
3
-import builtins from "builtin-modules";
+import { builtinModules } from "node:module";
4
5
const banner =
6
`/*
@@ -31,7 +31,7 @@ const context = await esbuild.context({
31
"@lezer/common",
32
"@lezer/highlight",
33
"@lezer/lr",
34
- ...builtins],
+ ...builtinModules],
35
format: "cjs",
36
target: "es2020",
37
logLevel: "info",
@@ -46,4 +46,4 @@ if (prod) {
46
process.exit(0);
47
} else {
48
await context.watch();
49
-}
+}
0 commit comments