Skip to content

Commit

Permalink
chore: Add @next/mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
BBaoVanC committed Jan 12, 2025
1 parent 16bfeb3 commit 3cd2543
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
6 changes: 5 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import createMDX from '@next/mdx'

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
}

export default nextConfig
const withMDX = createMDX({})

export default withMDX(nextConfig)
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@headlessui/react": "^2.1.1",
"@heroicons/react": "^2.1.4",
"@next/mdx": "^15.1.4",
"@tailwindcss/typography": "^0.5.15",
"@types/prismjs": "^1.26.5",
"clsx": "^2.1.1",
Expand Down

0 comments on commit 3cd2543

Please sign in to comment.