Skip to content

Commit 83d9e33

Browse files
authored
Use Node18 as target in runfiy
1 parent e47642a commit 83d9e33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/runify.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ async function buildNext(cwd: string, additionalRequire: string | null) {
211211
await tsup({
212212
entryPoints: [join(cwd, additionalRequire)],
213213
outDir: join(cwd, "dist"),
214-
target: "node16",
214+
target: "node18",
215215
format: ["cjs"],
216216
splitting: false,
217217
skipNodeModulesBundle: true,
@@ -268,7 +268,7 @@ async function compile(
268268
await tsup({
269269
entryPoints: [join(cwd, entryPoint)],
270270
outDir: out,
271-
target: "node16",
271+
target: "node18",
272272
format: [useEsm ? "esm" : "cjs"],
273273
splitting: false,
274274
sourcemap: true,

0 commit comments

Comments
 (0)