36 lines
764 B
JavaScript
36 lines
764 B
JavaScript
/**
|
|
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
|
|
* for Docker builds.
|
|
*/
|
|
import "./src/env.js";
|
|
import createMDX from "@next/mdx";
|
|
|
|
/** @type {import("next").NextConfig} */
|
|
const config = {
|
|
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
|
|
allowedDevOrigins: ["*.vscode.home.joemonk.co.uk", "*.vscode.localhost"],
|
|
experimental: {
|
|
reactCompiler: true,
|
|
},
|
|
reactStrictMode: true,
|
|
output: "standalone",
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "fly.storage.tigris.dev",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "img.daisyui.com",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
const withMDX = createMDX({
|
|
// Add markdown plugins here, as desired
|
|
});
|
|
|
|
export default withMDX(config);
|