Skip to content

Commit 3b2d6c3

Browse files
Balazsorban44/main (#313)
* chore(deps): upgrade `next` * refactor: move Middleware to root * bump nextra for next 12.2 support Co-authored-by: Balázs Orbán <[email protected]>
1 parent 3f5897a commit 3b2d6c3

File tree

4 files changed

+125
-105
lines changed

4 files changed

+125
-105
lines changed

middleware.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { locales as middleware } from "nextra/locales";

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"focus-visible": "^5.1.0",
1717
"intersection-observer": "^0.10.0",
1818
"markdown-to-jsx": "^6.11.4",
19-
"next": "^12.1.0",
20-
"nextra": "^2.0.0-alpha.50",
21-
"nextra-theme-docs": "^2.0.0-alpha.53",
19+
"next": "^12.2.0",
20+
"nextra": "^2.0.0-beta.6",
21+
"nextra-theme-docs": "^2.0.0-beta.6",
2222
"react": "^17.0.2",
2323
"react-dom": "^17.0.2",
2424
"react-intersection-observer": "^8.26.2"

pages/_middleware.js

-2
This file was deleted.

0 commit comments

Comments
 (0)