Skip to content

Commit 11e6a36

Browse files
authored
fix: subpackages dts in node10 (#2)
1 parent e7b5352 commit 11e6a36

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

package.json

+20
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,26 @@
4343
"main": "./dist/index.mjs",
4444
"module": "./dist/index.mjs",
4545
"types": "./dist/index.d.mts",
46+
"typesVersions": {
47+
"*": {
48+
"core": [
49+
"./dist/core.d.mts"
50+
],
51+
"wasm": [
52+
"./dist/wasm.d.mts"
53+
],
54+
"languages": [
55+
"./dist/languages.d.mts"
56+
],
57+
"themes": [
58+
"./dist/themes.d.mts"
59+
],
60+
"*": [
61+
"./dist/*",
62+
"./*"
63+
]
64+
}
65+
},
4666
"files": [
4767
"dist"
4868
],

0 commit comments

Comments
 (0)