Skip to content

Commit

Permalink
fix(illustrations): missing export in package json (#3552)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthprost authored Mar 12, 2024
1 parent 04f46d8 commit 9a82199
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-rockets-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ultraviolet/illustrations": patch
---

Fix export of DynamicIllustration
10 changes: 7 additions & 3 deletions packages/illustrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@
"types": "./dist/various/index.d.ts",
"default": "./dist/various/index.js"
},
".": {
"types": "./dist/index.d.ts",
"default": "./dist/src/index.js"
"./components/*": {
"types": "./dist/components/index.d.ts",
"default": "./dist/components/index.js"
},
"./components": {
"types": "./dist/components/*/index.d.ts",
"default": "./dist/components/*/index.js"
}
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/illustrations/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ const input = [
'src/products/index.ts',
'./src/various/*/index.ts',
'src/various/index.ts',
'src/index.ts',
'src/components/index.ts',
'./src/components/*/index.ts',
]

export default [
Expand Down

0 comments on commit 9a82199

Please sign in to comment.