diff --git a/package.json b/package.json index 6b18579..9736136 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ ], "packageManager": "pnpm@10.4.1", "engines": { - "node": ">=18" + "node": ">=20" }, "scripts": { "build": "tsup", diff --git a/tsup.config.ts b/tsup.config.ts index e874b65..df105d4 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -4,7 +4,7 @@ export default defineConfig([ { entry: ['src/index.ts'], outDir: 'dist', - target: 'es2018', + target: 'es2020', platform: 'neutral', format: ['esm', 'cjs'], splitting: false,