Skip to content

Commit

Permalink
refactor: make @swc/helpers an optional peer (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
JSerFeng committed Jul 17, 2024
1 parent 8feaad9 commit bff785b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/lazy-rockets-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@modern-js/swc-plugins": patch
"@modern-js/swc-plugin-import": patch
"@modern-js/swc-react-const-elements-plugin": patch
---

refactor: make @swc/helpers an optional peer
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"peerDependencies": {
"@swc/helpers": ">=0.5.3"
},
"peerDependenciesMeta": {
"@swc/helpers": {
"optional": true
}
},
"engines": {
"node": ">=14.17.6"
},
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bff785b

Please sign in to comment.