Skip to content

Commit 942a6f3

Browse files
committed
Update dependencies
Update dependencies to work with latest Nextra version. Fixed all breaking changes.
1 parent c802aeb commit 942a6f3

File tree

8 files changed

+10539
-35
lines changed

8 files changed

+10539
-35
lines changed

Diff for: next-env.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

Diff for: next.config.js

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
const withNextra = require('nextra')({
2-
theme: 'nextra-theme-docs',
3-
themeConfig: './theme.config.tsx',
4-
})
1+
import withNextra from 'nextra';
2+
3+
const themeConfig = './theme.config.tsx';
54

6-
module.exports = withNextra()
5+
const config = withNextra({
6+
theme: 'nextra-theme-docs',
7+
themeConfig,
8+
});
79

10+
export default config;

0 commit comments

Comments
 (0)