Next.js Discord

Discord Forum

using turbo against my will

Answered
Toyger posted this in #help-forum
Open in Discord
ToygerOP
its using turbopack without even having the --turbo flag
Answered by @ts-ignore
This isn't using turbo, it is just setting turbo options
View full answer

8 Replies

ToygerOP
bun run dev
import type { NextConfig } from "next";
import createMDX from "@next/mdx";

const withMDX = createMDX({
  options: {
    remarkPlugins: [],
    rehypePlugins: [],
  },
});

const nextConfig: NextConfig = {
  pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
};

export default withMDX(nextConfig);
Original message was deleted
This isn't using turbo, it is just setting turbo options
Answer
ToygerOP
oh
alr
so incase you turn on turbo, it uses turbo specific config
ToygerOP
thank u