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';
pull/1023/head
Uilton Oliveira 2022-11-22 12:58:07 -03:00 zatwierdzone przez GitHub
rodzic c40b3a86a9
commit 4f7d915853
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

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