From a5be32498330cf95485f4690deb8ee2d2c7b821e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E9=95=87?= Date: Tue, 28 Nov 2023 16:44:15 +0800 Subject: [PATCH] fix: change main entry in package.json --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1ba465d..0a00e82 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,7 @@ "version": "1.1.1", "description": "axios adapter for alova.js", "homepage": "https://alova.js.org", - "main": "dist/alova-adapter-axios.umd.min.js", - "jsnext:main": "dist/alova-adapter-axios.esm.js", + "main": "dist/alova-adapter-axios.esm.js", "module": "dist/alova-adapter-axios.esm.js", "types": "typings/index.d.ts", "type": "module", @@ -21,6 +20,8 @@ "svelte", "axios" ], + "jsdelivr": "dist/alova-adapter-axios.umd.min.js", + "unpkg": "dist/alova-adapter-axios.umd.min.js", "scripts": { "clean": "rimraf ./dist", "test:browser": "jest",