Skip to content

Commit 6a9e02f

Browse files
committed
fix: build settings
1 parent 4100343 commit 6a9e02f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"esModuleInterop": true,
66
"forceConsistentCasingInFileNames": true,
77
"module": "esnext",
8-
"moduleResolution": "node",
8+
"moduleResolution": "bundler",
99
"noFallthroughCasesInSwitch": true,
1010
"noUnusedParameters": false,
1111
"skipLibCheck": true,

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig } from "tsup";
33
export default defineConfig({
44
entry: ["./src/api.ts", "./src/index.ts", "./src/meta.ts", "./src/templates.ts", "./src/types.ts", "./src/utils.ts"],
55
minify: false,
6-
target: "es2022",
6+
target: "es2023",
77
format: ["cjs", "esm"],
88
clean: true,
99
dts: true,

0 commit comments

Comments
 (0)