mirror of
https://github.com/r2r90/canvas-label.git
synced 2025-12-16 21:19:38 +00:00
41 lines
824 B
JavaScript
41 lines
824 B
JavaScript
/**
|
|
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
|
|
* for Docker builds.
|
|
*/
|
|
await import("./src/env.mjs");
|
|
|
|
/** @type {import("next").NextConfig} */
|
|
const config = {
|
|
reactStrictMode: true,
|
|
typescript: {
|
|
// !! WARN !!
|
|
// Dangerously allow production builds to successfully complete even if
|
|
// your project has type errors.
|
|
// !! WARN !!
|
|
ignoreBuildErrors: true,
|
|
},
|
|
/**
|
|
* If you are using `appDir` then you must comment the below `i18n` config out.
|
|
*
|
|
* @see https://github.com/vercel/next.js/issues/41980
|
|
*/
|
|
i18n: {
|
|
locales: ["en"],
|
|
defaultLocale: "en",
|
|
},
|
|
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'images.unsplash.com',
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
|
|
};
|
|
|
|
export default config;
|