From 4f7d91585302310cb6771789fa96f51430c22737 Mon Sep 17 00:00:00 2001 From: Uilton Oliveira Date: Tue, 22 Nov 2022 12:58:07 -0300 Subject: [PATCH] Fix mapping in exports (#1020) * Fix mapping in exports Fixes #1019 - Add correct mapping for public entrypoints. * Remove shoelace.js from from exports list Should still works fine while importing this way: import { thing } from '@shoelace-style/shoelace'; --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7d00d14e..33b0415c 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,12 @@ ".": { "types": "./dist/shoelace.d.ts", "import": "./dist/shoelace.js" - } + }, + "./themes/*": "./dist/themes/*", + "./components/*": "./dist/components/*", + "./utilities/*": "./dist/utilities/*", + "./react/*": "./dist/react/*", + "./translations/*": "./dist/translations/*" }, "files": [ "dist"