Skip to content

Commit

Permalink
Fix mapping in exports (#1020)
Browse files Browse the repository at this point in the history
* 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';
  • Loading branch information
uilton-oliveira authored Nov 22, 2022
1 parent c40b3a8 commit 4f7d915
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4f7d915

Please sign in to comment.