From bb272109fd3ef5000328a558dbfd3b78465e0b74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=AE=89?= <1481988258@qq.com> Date: Wed, 16 Nov 2022 00:56:30 +0800 Subject: [PATCH] Update module field --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e92427a..06f5c80 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "dev": "npm run build -- --watch index.ts", "build": "tsup index.ts --format cjs,esm --dts" }, - "module": "CommonJS", + "module": "./dist/index.mjs", "exports": { ".": { "types": "./dist/index.d.ts",