Skip to content

Commit

Permalink
🔧 config: close ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
eternallycyf committed Sep 1, 2024
1 parent 0752e94 commit b839f3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default defineConfig({
targets: { chrome: 79 },
codeSplitting: { jsStrategy: 'granularChunks' },
themeConfig,
ssr: isProd ? {} : false,
ssr: false,
extraBabelPlugins: ['antd-style'],
hash: true,
mock: {},
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@
"prettier --parser=typescript --write"
]
},
"resolutions": {
"dumi": "2.2.17"
},
"dependencies": {
"@babel/runtime": "^7.23.1",
"react": "^18.2.0",
Expand All @@ -90,8 +87,8 @@
"concurrently": "^7",
"conventional-changelog-gitmoji-config": "^1",
"cross-env": "^7",
"dumi": "2.2.17",
"dumi-theme-antd-style": "^0.31.0",
"dumi": "latest",
"dumi-theme-antd-style": "latest",
"eslint": "^8",
"father": "^4",
"husky": "^8",
Expand Down

0 comments on commit b839f3c

Please sign in to comment.