-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnext.config.js
28 lines (27 loc) · 1.02 KB
/
next.config.js
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
const { withBlitz } = require("@blitzjs/next")
/**
* @type {import('@blitzjs/next').BlitzConfig}
**/
module.exports = withBlitz({
// StrictMode: Should be default, but just in case…
// Docs: https://nextjs.org/docs/app/api-reference/next-config-js/reactStrictMode
// See also: https://github.com/facebook/react/issues/29130
reactStrictMode: true,
experimental: {
// https://nextjs.org/docs/app/building-your-application/configuring/typescript#statically-typed-links
typedRoutes: true,
instrumentationHook: true,
},
swcMinify: true,
productionBrowserSourceMaps: true, // build source maps in production – https://nextjs.org/docs/advanced-features/source-maps
images: {
domains: [
"tinkering.trassenscout.de",
"staging.trassenscout.de",
"trassenscout.de",
"radschnellweg8-lb-wn.de",
"develop--frm-7-landingpage.netlify.app",
"radschnellweg-frm7.de",
], // allow fetching images from those domains – https://nextjs.org/docs/api-reference/next/image#domains
},
})