Skip to content

Commit 8b7f3cd

Browse files
authored
feat: add additional exports to package.json for generate and interface modules (#952)
1 parent 7e39aa1 commit 8b7f3cd

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

package.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,46 @@
3636
"types": "./es/locale/*.d.ts",
3737
"import": "./es/locale/*.js",
3838
"require": "./lib/locale/*.js"
39+
},
40+
"./lib/generate": {
41+
"types": "./es/generate/index.d.ts",
42+
"import": "./es/generate/index.js",
43+
"require": "./lib/generate/index.js"
44+
},
45+
"./lib/generate/*": {
46+
"types": "./es/generate/*.d.ts",
47+
"import": "./es/generate/*.js",
48+
"require": "./lib/generate/*.js"
49+
},
50+
"./lib/interface": {
51+
"types": "./es/interface.d.ts",
52+
"import": "./es/interface.js",
53+
"require": "./lib/interface.js"
54+
},
55+
"./lib/locale/*": {
56+
"types": "./es/locale/*.d.ts",
57+
"import": "./es/locale/*.js",
58+
"require": "./lib/locale/*.js"
59+
},
60+
"./es/generate": {
61+
"types": "./es/generate/index.d.ts",
62+
"import": "./es/generate/index.js",
63+
"require": "./lib/generate/index.js"
64+
},
65+
"./es/generate/*": {
66+
"types": "./es/generate/*.d.ts",
67+
"import": "./es/generate/*.js",
68+
"require": "./lib/generate/*.js"
69+
},
70+
"./es/interface": {
71+
"types": "./es/interface.d.ts",
72+
"import": "./es/interface.js",
73+
"require": "./lib/interface.js"
74+
},
75+
"./es/locale/*": {
76+
"types": "./es/locale/*.d.ts",
77+
"import": "./es/locale/*.js",
78+
"require": "./lib/locale/*.js"
3979
}
4080
},
4181
"files": [

0 commit comments

Comments
 (0)