Skip to content

Commit b81ff29

Browse files
committed
feat(tailwind): add tailwindcss to lib
1 parent a1f1570 commit b81ff29

File tree

7 files changed

+359
-14
lines changed

7 files changed

+359
-14
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
},
4747
"devDependencies": {
4848
"@bosh-code/tsdown-plugin-inject-css": "^1.0.2",
49+
"@bosh-code/tsdown-plugin-tailwindcss": "^1.0.1",
4950
"@eslint/js": "^9.37.0",
5051
"@testing-library/jest-dom": "^6.6.3",
5152
"@testing-library/react": "^16.3.0",
@@ -59,6 +60,7 @@
5960
"globals": "^16.4.0",
6061
"happy-dom": "^17.4.6",
6162
"react-dom": "^19.1.0",
63+
"tailwindcss": "^4.1.14",
6264
"tsdown": "^0.11.1",
6365
"typescript": "^5.8.3",
6466
"typescript-eslint": "^8.46.0",

playground/src/App.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1+
import { MyButton } from '../../dist'
12
// import { MyButton } from '../../src'
23

3-
import { MyButton as BuiltButton } from '../../dist'
4-
54
export function App() {
65
return (
76
<>
8-
{/*<MyButton type="primary" />*/}
9-
<BuiltButton />
7+
<MyButton type="primary" />
108
</>
119
)
1210
}

0 commit comments

Comments
 (0)