diff --git a/next.config.mjs b/next.config.mjs index 71ac1b2..6d85547 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -25,6 +25,12 @@ const nextConfig = { compiler: { styledComponents: true, }, + experimental: { + turbo: { + optimizeCss: true, + transitivePackages: true + }, + } }; export default withMDX(nextConfig); 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",