Fix site build, add yarn.

This commit is contained in:
sdiehl 2022-03-13 11:10:39 +00:00
parent 1dbdb9ba67
commit 46267a08d9
5 changed files with 2460 additions and 14 deletions

View File

@ -1,10 +0,0 @@
module.exports = {
async rewrites() {
return [
{
source: '/concepts/:page(.md)',
destination: '/concepts/:page',
},
]
},
}

View File

@ -35,6 +35,4 @@ const rewrites = async () => {
}
module.exports = {
withMDX(rewrites(config))
}
export default withMDX(rewrites(config))

View File

@ -10,6 +10,7 @@
"@headlessui/react": "^1.4.1",
"@heroicons/react": "^1.0.4",
"@mdx-js/loader": "^2.0.0",
"@mdx-js/react": "^2.0.0",
"@next/mdx": "^12.1.0",
"@silvenon/remark-smartypants": "^1.0.0",
"@tailwindcss/typography": "^0.5.2",

View File

@ -6,7 +6,6 @@ import { ThemeProvider } from 'next-themes'
import '../styles/global.css'
import siteConfig from '../config/siteConfig.js'
import nextConfig from '../config/next.config.js'
import Layout from '../components/Layout'
import MdxPage from '../components/MDX'
import * as gtag from '../lib/gtag'

2458
site/yarn.lock Normal file

File diff suppressed because it is too large Load Diff