From 58ea8992282afee8a2e57b3e2c51dd1be9191ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Fri, 29 Nov 2024 01:59:33 +0800 Subject: [PATCH] feat!: drop node 16 --- package.json | 2 +- tsup.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ef08cba..39e0c4e 100644 --- a/package.json +++ b/package.json @@ -116,7 +116,7 @@ "vue": "^3.5.13" }, "engines": { - "node": ">=16.14.0" + "node": ">=18.12.0" }, "prettier": "@sxzz/prettier-config", "resolutions": { diff --git a/tsup.config.ts b/tsup.config.ts index df33511..24724f4 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -3,7 +3,7 @@ import { defineConfig } from 'tsup' export default defineConfig({ entry: ['./src/*.ts'], format: ['cjs', 'esm'], - target: 'node16.14', + target: 'node18.12', splitting: true, cjsInterop: true, clean: true,