Skip to content

Commit

Permalink
fix(app-tools): can not disable output.cleanDistPath (#3488)
Browse files Browse the repository at this point in the history
* fix(app-tools): can not disable cleanDistPath

* chore: update test case

* chore: add changeset
  • Loading branch information
chenjiahan authored and JSerFeng committed Apr 19, 2023
1 parent b7f72a6 commit e3eb104
Show file tree
Hide file tree
Showing 6 changed files with 206 additions and 388 deletions.
11 changes: 11 additions & 0 deletions .changeset/nasty-readers-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@modern-js/builder-webpack-provider': patch
'@modern-js/builder-rspack-provider': patch
'@e2e/webpack-builder-import-antd-v4': patch
'@e2e/webpack-builder-import-antd-v5': patch
'@modern-js/builder-plugin-swc': patch
---

fix(monorepo): ignore unnessary peer deps warning from antd

fix(monorepo): 忽略由 antd 造成的不必要的 peer deps 警告
4 changes: 3 additions & 1 deletion packages/builder/builder-webpack-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@
"@types/caniuse-lite": "^1.0.1",
"@types/node": "^14",
"antd": "4",
"typescript": "^4"
"typescript": "^4",
"react": "^18",
"react-dom": "^18"
},
"peerDependencies": {
"@modern-js/e2e": "workspace:^2.13.4"
Expand Down
4 changes: 3 additions & 1 deletion packages/builder/plugin-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@
"magic-string": "^0.26.2",
"source-map": "^0.7.4",
"typescript": "^4",
"webpack": "^5.76.2"
"webpack": "^5.76.2",
"react": "^18",
"react-dom": "^18"
},
"dependencies": {
"@modern-js/builder-plugin-swc-base": "workspace:*",
Expand Down

0 comments on commit e3eb104

Please sign in to comment.