From 35e9f6c9f915f8241ce04a0d153826ad3c0ef2e8 Mon Sep 17 00:00:00 2001 From: "Mr.Hope" Date: Mon, 18 Dec 2023 16:56:22 +0800 Subject: [PATCH] chore: add exports field --- ui/packages/artalk/package.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ui/packages/artalk/package.json b/ui/packages/artalk/package.json index da7126383..ce29cf0f5 100644 --- a/ui/packages/artalk/package.json +++ b/ui/packages/artalk/package.json @@ -25,6 +25,15 @@ "default": "./dist/Artalk.es.js" }, "./dist/*": "./dist/*", + "./dist/Artalk": "./dist/Artalk.js", + "./dist/Artalk.es": "./dist/Artalk.es.js", + "./dist/Artalk.iife": "./dist/Artalk.iife.js", + "./dist/ArtalkLite": "./dist/ArtalkLite.js", + "./dist/ArtalkLite.es": "./dist/ArtalkLite.es.js", + "./dist/ArtalkLite.iife": "./dist/ArtalkLite.iife.js", + "./dist/i18n/jp": "./dist/i18n/jp.js", + "./dist/i18n/zh-TW": "./dist/i18n/zh-TW.js", + "./i18n/*": "./dist/i18n/*", "./lite/*": { "types": "./dist/src/main.d.ts", "require": "./dist/ArtalkLite.js", @@ -60,4 +69,4 @@ "devDependencies": { "@types/marked": "5.0.2" } -} +} \ No newline at end of file