You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
519 B
22 lines
519 B
import { env } from './src/env/server.mjs';
|
|
|
|
/**
|
|
* Don't be scared of the generics here.
|
|
* All they do is to give us autocompletion when using this.
|
|
*
|
|
* @template {import('next').NextConfig} T
|
|
* @param {T} config - A generic parameter that flows through to the return type
|
|
* @constraint {{import('next').NextConfig}}
|
|
*/
|
|
function defineNextConfig(config) {
|
|
return config;
|
|
}
|
|
|
|
export default defineNextConfig({
|
|
experimental: {
|
|
newNextLinkBehavior: true,
|
|
},
|
|
reactStrictMode: true,
|
|
swcMinify: true,
|
|
});
|