From a74132ffa4d971c62e60482b06274da3b00d8ed9 Mon Sep 17 00:00:00 2001 From: Col0ring <1561999073@qq.com> Date: Sun, 29 Sep 2024 11:23:18 +0800 Subject: [PATCH 1/2] Fix package.json exports of @gradio/preview --- js/preview/package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/preview/package.json b/js/preview/package.json index 248ea5c3de08a..44f251f7ebc67 100644 --- a/js/preview/package.json +++ b/js/preview/package.json @@ -43,6 +43,8 @@ }, "exports": { ".": { + "default": "./dist/index.js", + "import": "./dist/index.js", "gradio": "./src/index.ts", "svelte": "./dist/src/index.js", "types": "./dist/index.d.ts" From d66ec62faa3cd61d8afeb82a6a844a6da26ddbcb Mon Sep 17 00:00:00 2001 From: gradio-pr-bot Date: Sun, 29 Sep 2024 03:39:31 +0000 Subject: [PATCH 2/2] add changeset --- .changeset/five-teeth-relax.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/five-teeth-relax.md diff --git a/.changeset/five-teeth-relax.md b/.changeset/five-teeth-relax.md new file mode 100644 index 0000000000000..d428e3960d5cf --- /dev/null +++ b/.changeset/five-teeth-relax.md @@ -0,0 +1,5 @@ +--- +"@gradio/preview": patch +--- + +fix:Fix package.json `exports` of @gradio/preview