Skip to content

Commit

Permalink
fix: plugin-stream-error use typesVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
wjn760371 committed Oct 9, 2024
1 parent 23d9fc8 commit f8f51d2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/plugin-stream-error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@
"import": "./esm/index.js",
"default": "./esm/index.js"
},
"./head-stream-error": {
"types": "./esm/components/headStreamErrorRecoverScript.d.ts",
"import": "./esm/components/headStreamErrorRecoverScript.js",
"default": "./esm/components/headStreamErrorRecoverScript.js"
"./head-stream-error": "./esm/components/headStreamErrorRecoverScript.js"
},
"typesVersions": {
"*": {
"head-stream-error": [
"./esm/components/headStreamErrorRecoverScript.d.ts"
]
}
},
"main": "./esm/index.js",
Expand Down

0 comments on commit f8f51d2

Please sign in to comment.