Skip to content

Commit

Permalink
chore: bump react dev dep to 18.2 (#37697)
Browse files Browse the repository at this point in the history
* chore: bump react dev dep to 18.2

* fix test and exclude inc cache path for edge

* update compiled

Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
huozhi and ijjk authored Jun 15, 2022
1 parent 7193eff commit 40b0dae
Show file tree
Hide file tree
Showing 11 changed files with 135 additions and 80 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@
"pretty-bytes": "5.3.0",
"pretty-ms": "7.0.0",
"random-seed": "0.3.0",
"react": "18.1.0",
"react": "18.2.0",
"react-17": "npm:react@17.0.2",
"react-dom": "18.1.0",
"react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@17.0.2",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ export default async function middlewareSSRLoader(this: any) {

const transformed = `
import { adapter } from 'next/dist/server/web/adapter'
import { RouterContext } from 'next/dist/shared/lib/router-context'
import { getRender } from 'next/dist/build/webpack/loaders/next-middleware-ssr-loader/render'
import Document from ${stringifiedDocumentPath}
Expand Down
2 changes: 1 addition & 1 deletion packages/next/compiled/mini-css-extract-plugin/cjs.js

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

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

2 changes: 1 addition & 1 deletion packages/next/compiled/mini-css-extract-plugin/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/next/compiled/mini-css-extract-plugin/loader.js

Large diffs are not rendered by default.

Loading

0 comments on commit 40b0dae

Please sign in to comment.