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';
This commit is contained in:
Uilton Oliveira
2022-11-22 12:58:07 -03:00
committed by GitHub
parent c40b3a86a9
commit 4f7d915853

View File

@@ -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"