From 08077af64f2e42a9aafa41f7b7030f251453419b Mon Sep 17 00:00:00 2001 From: wangxinrong <18629193282@163.com> Date: Wed, 1 Nov 2023 21:28:59 +0800 Subject: [PATCH] =?UTF-8?q?[inula-package.json]=20exports=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/inula/package.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/inula/package.json b/packages/inula/package.json index 3ec98d8b..38de80bf 100644 --- a/packages/inula/package.json +++ b/packages/inula/package.json @@ -24,5 +24,13 @@ "watch-test": "yarn test --watch --dev" }, "files": ["build/@types", "build/cjs", "build/umd", "build/index.js", "build/jsx-dev-runtime.js", "build/jsx-runtime.js", "README.md"], - "types": "./build/@types/index.d.ts" + "types": "./build/@types/index.d.ts", + "exports": { + ".": { + "default": "./index.js" + }, + "./package.json": "./package.json", + "./jsx-runtime": "./jsx-runtime.js", + "./jsx-dev-runtime": "./jsx-dev-runtime.js" + } }