Skip to content

Commit 6195e6e

Browse files
committed
chore: add typesVersions to compatibility with moduleResolution: "node"
1 parent 997045f commit 6195e6e

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

packages/macros/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@
9494
},
9595
"./*": "./*"
9696
},
97+
"typesVersions": {
98+
"*": {
99+
"*": [
100+
"./dist/*",
101+
"./*"
102+
]
103+
}
104+
},
97105
"scripts": {
98106
"build": "tsdown",
99107
"dev": "DEV=true tsdown"

packages/vue-jsx-vapor/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,17 @@
122122
},
123123
"./*": "./*"
124124
},
125+
"typesVersions": {
126+
"*": {
127+
"*": [
128+
"./dist/*",
129+
"./*"
130+
],
131+
"jsx-runtime": [
132+
"./jsx-runtime/index.d.ts"
133+
]
134+
}
135+
},
125136
"scripts": {
126137
"build": "tsdown",
127138
"dev": "DEV=true tsdown",

0 commit comments

Comments
 (0)