Skip to content

Commit

Permalink
Fix: [DS-237] Components' style export (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicky-comeau authored Jul 16, 2024
2 parents ed2e820 + 6e4307e commit bb9c6b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/loud-jars-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hopper-ui/components": patch
---

Added exports to the package.json for the css file like we have in the icons package.
4 changes: 3 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"style": "dist/index.css",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./index.css": "./dist/index.css"
},
"files": [
"/dist",
Expand Down

0 comments on commit bb9c6b3

Please sign in to comment.