From b587af88b511f9c54e6ba2bb163bebfda42d8129 Mon Sep 17 00:00:00 2001 From: huangxuan Date: Fri, 1 Dec 2023 16:18:03 +0800 Subject: [PATCH] =?UTF-8?q?package.json=E5=85=BC=E5=AE=B9webpack5?= 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 2eb04d4b..54ae4908 100644 --- a/packages/inula/package.json +++ b/packages/inula/package.json @@ -24,5 +24,13 @@ "watch-test": "yarn test --watch --dev" }, "files": ["build/**/*", "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" + } }