Skip to content

Commit e7cd617

Browse files
Add wildcard exports to package.json for subpath imports
1 parent 6630cfc commit e7cd617

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

packages/components/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,17 @@
1313
"types": "./dist/remix-hook-form/index.d.ts",
1414
"import": "./dist/remix-hook-form/index.js"
1515
},
16+
"./remix-hook-form/*": {
17+
"types": "./dist/remix-hook-form/*.d.ts",
18+
"import": "./dist/remix-hook-form/*.js"
19+
},
1620
"./ui": {
1721
"types": "./dist/ui/index.d.ts",
1822
"import": "./dist/ui/index.js"
23+
},
24+
"./ui/*": {
25+
"types": "./dist/ui/*.d.ts",
26+
"import": "./dist/ui/*.js"
1927
}
2028
},
2129
"files": [

0 commit comments

Comments
 (0)