simple-i18n-next-app
Version:
This Next.js desktop app to manage localization files that will be used by the [simple-i18n-next](https://github.com/nicnocquee/simple-i18n-next) package.
22 lines (18 loc) • 481 B
JavaScript
import remarkGfm from "remark-gfm";
import createMDX from "@next/mdx";
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
env: {
ORIGINAL_CWD: process.env.ORIGINAL_CWD,
},
};
const withMDX = createMDX({
// Add markdown plugins here, as desired
options: {
remarkPlugins: [remarkGfm],
rehypePlugins: [],
},
});
// Wrap MDX and Next.js config with each other
export default withMDX(nextConfig);