UNPKG

create-cen-app

Version:
31 lines (29 loc) 755 B
/** * Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful * for Docker builds. */ /** @type {import("next").NextConfig} */ const config = { /** * If you have `experimental: { appDir: true }` set, then you must comment the below `i18n` config * out. * * @see https://github.com/vercel/next.js/issues/41980 */ i18n: { locales: ["en"], defaultLocale: "en", }, // to enable running in docker: output: "standalone", // this lets us use SVGs as components - for example: // import Logo from '../assets/logo.svg'; webpack(config) { config.module.rules.push({ test: /\.svg$/, use: ["@svgr/webpack"], }); return config; }, }; export default config;