This commit is contained in:
Defectink
2021-12-24 10:46:40 +08:00
parent c5af8949a5
commit 971962069e
3 changed files with 571 additions and 17 deletions

View File

@ -1,4 +1,14 @@
/** @type {import('next').NextConfig} */
module.exports = {
const withMDX = require('@next/mdx')({
extension: /\.mdx?$/,
options: {
remarkPlugins: [],
rehypePlugins: [],
},
});
module.exports = withMDX({
reactStrictMode: true,
};
pageExtensions: ['js', 'jsx', 'md', 'mdx'],
});

View File

@ -18,6 +18,8 @@
"@emotion/react": "^11",
"@emotion/styled": "^11",
"@giscus/react": "^1.0.1",
"@mdx-js/loader": "^1.6.22",
"@next/mdx": "^12.0.7",
"@reduxjs/toolkit": "^1.6.2",
"ahooks": "^2.10.12",
"algoliasearch": "^4.11.0",

572
yarn.lock

File diff suppressed because it is too large Load Diff