Skip to content

Commit bc31a81

Browse files
committed
fix: use correct esm target
1 parent 76d9f9f commit bc31a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const filesToExcludeFromDist = [
4444
];
4545

4646
const moduleMappings = {
47-
esm: "node16",
47+
esm: "es2022",
4848
cjs: "commonjs",
4949
} as const;
5050

0 commit comments

Comments
 (0)