Skip to content

Commit

Permalink
fix: support [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Dec 19, 2024
1 parent 230ee58 commit 155f800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
},
"peerDependencies": {
"@swc/core": "^1.6.6",
"oxc-transform": ">=0.28.0",
"oxc-transform": ">=0.42.0",
"typescript": "^5.5.2"
},
"peerDependenciesMeta": {
Expand Down
1 change: 1 addition & 0 deletions src/core/transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export async function oxcTransform(
return {
...result,
map: result.map?.mappings,
errors: result.errors.map((error) => error.message),
}
}

Expand Down

0 comments on commit 155f800

Please sign in to comment.