diff --git a/next.config.mjs b/next.config.mjs index 71ac1b2..bbf92f5 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -20,6 +20,7 @@ const nextConfig = { pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"], output: "export", + transpilePackages: ['next-mdx-remote'], images: { unoptimized: true }, compiler: { diff --git a/package.json b/package.json index f7041ae..41bb5c5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "scripts": { - "next-dev": "next dev", + "next-dev": "next dev --turbo", "content-watch": "nodemon --ext ts,mdx --watch ./content --ignore ./content/outline.json --exec \"tsx ./scripts/generateOutline.ts\"", "dev": "concurrently \"pnpm run next-dev\" \"pnpm run content-watch\"", "build": "tsx ./scripts/generateOutline.ts && next build",