Skip to content

Commit 5d7615d

Browse files
committed
Update esbuild.config.mjs for 0.1.1
1 parent fc7962e commit 5d7615d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

esbuild.config.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import esbuild from "esbuild";
22
import process from "process";
3-
import builtins from "builtin-modules";
3+
import { builtinModules } from "node:module";
44

55
const banner =
66
`/*
@@ -31,7 +31,7 @@ const context = await esbuild.context({
3131
"@lezer/common",
3232
"@lezer/highlight",
3333
"@lezer/lr",
34-
...builtins],
34+
...builtinModules],
3535
format: "cjs",
3636
target: "es2020",
3737
logLevel: "info",
@@ -46,4 +46,4 @@ if (prod) {
4646
process.exit(0);
4747
} else {
4848
await context.watch();
49-
}
49+
}

0 commit comments

Comments
 (0)