forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dom crash with ssr hydrate error (ant-design#49576)
* fix: ssr hydrate error * deps: lock react and react-dom * chore: script react/react-dom --nosave * chore(deps): update dumi version * chore: back ant-design#49595 * chore(deps): update dumi
- Loading branch information
1 parent
3e98f7c
commit 3952fd8
Showing
4 changed files
with
12 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,8 @@ | |
"optimization": { | ||
"skipModules": false, | ||
"concatenateModules": false | ||
}, | ||
"codeSplitting": { | ||
"strategy": "auto" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,7 @@ | |
"pub": "echo 'Please use `npm publish` instead.'", | ||
"postpublish": "tsx scripts/post-publish.ts", | ||
"presite": "npm run prestart", | ||
"site": "dumi build && cp .surgeignore _site", | ||
"site": "npm i --no-save --legacy-peer-deps [email protected] [email protected] && dumi build && cp .surgeignore _site", | ||
"size-limit": "size-limit", | ||
"sort:api-table": "antd-tools run sort-api-table", | ||
"sort:package-json": "npx sort-package-json", | ||
|
@@ -224,7 +224,7 @@ | |
"cross-fetch": "^4.0.0", | ||
"crypto": "^1.0.1", | ||
"dekko": "^0.2.1", | ||
"dumi": "~2.3.8", | ||
"dumi": "~2.4.0", | ||
"dumi-plugin-color-chunk": "^1.1.1", | ||
"esbuild-loader": "^4.1.0", | ||
"eslint": "^8.57.0", | ||
|