diff --git a/next.config.mjs b/next.config.mjs index 8a0338f..71ac1b2 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,14 +1,16 @@ /** @type {import('next').NextConfig} */ import createMDX from "@next/mdx"; -import remarkFrontmatter from 'remark-frontmatter' -import remarkMdxFrontmatter from 'remark-mdx-frontmatter' +import remarkFrontmatter from "remark-frontmatter"; +import remarkMdxFrontmatter from "remark-mdx-frontmatter"; const withMDX = createMDX({ // Add markdown plugins here, as desired options: { - remarkPlugins: [remarkFrontmatter, [remarkMdxFrontmatter,{name:"metadata"}]], - + remarkPlugins: [ + remarkFrontmatter, + [remarkMdxFrontmatter, { name: "metadata" }], + ], }, }); @@ -18,13 +20,11 @@ const nextConfig = { pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"], output: "export", - basePath: process.env.MODE === "local" ? "" : "/tour", - images: { unoptimized: true } , - compiler:{ - styledComponents:true - } - + images: { unoptimized: true }, + compiler: { + styledComponents: true, + }, }; export default withMDX(nextConfig);