Skip to content

Commit 72f97f9

Browse files
committed
chore: update publish config and add require fields in package.json
1 parent 5078620 commit 72f97f9

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.changeset/gentle-steaks-go.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@genseki/react': patch
3+
---
4+
5+
Fix publish config

legacies/react/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@
2323
"exports": {
2424
".": {
2525
"import": "./dist/src/index.js",
26+
"require": "./dist/src/index.js",
2627
"types": "./dist/src/index.d.ts"
2728
},
2829
"./v2": {
2930
"import": "./dist/v2/index.js",
31+
"require": "./dist/v2/index.js",
3032
"types": "./dist/v2/index.d.ts"
3133
},
3234
"./tailwind.css": "./dist/src/react/styles/tailwind.css"

0 commit comments

Comments
 (0)