From c77c8a19372a5999d107a1fa73b2dfde2537e157 Mon Sep 17 00:00:00 2001 From: zurmokeeper <3382272560@qq.com> Date: Fri, 15 Nov 2024 15:46:31 +0800 Subject: [PATCH] =?UTF-8?q?Update=20package.json=EF=BC=8CAdd=20Esm=20expor?= =?UTF-8?q?t=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 929f01d52..4fd970fd8 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "main": "./index.js", "types": "index.d.ts", "exports": { - "require": "./index.js" + "require": "./index.js", + "import": "./index.js" }, "scripts": { "test": "npm run build && npm run lint && tap",