Skip to content

Commit

Permalink
fix(plugin-ssg): prod-server should be dependencies in ssg plugin (#5768
Browse files Browse the repository at this point in the history
)
  • Loading branch information
GiveMe-A-Name committed May 23, 2024
1 parent 7ed2fbc commit c462b7e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/olive-files-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@modern-js/plugin-ssg': patch
---

fix(plugin-ssg): prod-server should be dependencies in ssg plugin
fix(plugin-ssg): prod-server 应该是生产依赖在 ssg 插件里
2 changes: 1 addition & 1 deletion packages/cli/plugin-ssg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
},
"dependencies": {
"@modern-js/utils": "workspace:*",
"@modern-js/prod-server": "workspace:*",
"node-mocks-http": "^1.11.0",
"normalize-path": "3.0.0",
"portfinder": "^1.0.28",
Expand All @@ -82,7 +83,6 @@
},
"devDependencies": {
"@modern-js/app-tools": "workspace:*",
"@modern-js/prod-server": "workspace:*",
"@modern-js/types": "workspace:*",
"@scripts/build": "workspace:*",
"@scripts/jest-config": "workspace:*",
Expand Down
6 changes: 3 additions & 3 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 c462b7e

Please sign in to comment.