boilerplate
This commit is contained in:
19
next.config.ts
Normal file
19
next.config.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import "./src/env.js";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const dirname = fileURLToPath(new URL(".", import.meta.url));
|
||||
|
||||
const config = {
|
||||
reactStrictMode: true,
|
||||
i18n: {
|
||||
locales: ["en"],
|
||||
defaultLocale: "en",
|
||||
},
|
||||
turbopack: {
|
||||
root: dirname,
|
||||
},
|
||||
reactCompiler: true,
|
||||
} as NextConfig;
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user