-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.ts
More file actions
executable file
·33 lines (30 loc) · 1.01 KB
/
next.config.ts
File metadata and controls
executable file
·33 lines (30 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
import "./src/env";
import path from "node:path";
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "standalone",
transpilePackages: ["@t3-oss/env-nextjs", "@t3-oss/env-core"],
experimental: {
optimizePackageImports: ["@mantine/core", "@mantine/hooks"],
},
sassOptions: {
implementation: "sass-embedded",
additionalData: `@use "${path.join(process.cwd(), "_mantine").replace(/\\/g, "/")}" as mantine;`,
silenceDeprecations: ["legacy-js-api"],
},
images: {
domains: ["flwn.dev", "files.flwn.dev", "i.flwn.dev", "cdn.discordapp.com", "cdn.cloudflare.steamstatic.com"],
},
// redirects: async () => [
// {
// source: "/discord",
// destination: "https://discord.gg/dnuQCb3JvR",
// permanent: false,
// },
// ],
};
export default nextConfig;