Skip to content

Commit

Permalink
chore(module-tools): add babel dep, because @svgr/plugin-jsx depended…
Browse files Browse the repository at this point in the history
… after prebundle (#5211)
  • Loading branch information
10Derozan committed Jan 11, 2024
1 parent 89c5cd7 commit d6fa948
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/ten-camels-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@modern-js/module-tools': patch
---

chore(module-tools): add babel dep, because @svgr/plugin-jsx depended after prebundle
chore(module-tools): 新增 babel 依赖,因为预打包后的 @svgr/plugin-jsx 需要这些依赖
2 changes: 2 additions & 0 deletions packages/solutions/module-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
"dependencies": {
"@ampproject/remapping": "^2.2.1",
"@ast-grep/napi": "0.16.0",
"@babel/core": "^7.23.2",
"@babel/types": "^7.23.0",
"@modern-js/core": "workspace:*",
"@modern-js/new-action": "workspace:*",
"@modern-js/plugin": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit d6fa948

Please sign in to comment.