Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

fix 404 pages in vercel deployment (#204)

Ernesto Resendecd04522aa6bb
diff --git a/next.config.mjs b/next.config.mjs
index b82bd115..f26ec47a 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -4,28 +4,15 @@
*/
await import('./src/env.mjs');
await import('./scripts/dl-monaco.mjs').then(({ download }) => download());
-
/** @type {import("next").NextConfig} */
const config = {
reactStrictMode: true,
-
- /**
- * 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',
- },
-
experimental: {
serverActions: true,
},
typescript: {
- ignoreBuildErrors: true,
+ ignoreBuildErrors: false,
},
eslint: {