forked from cert-manager/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
30 lines (29 loc) · 898 Bytes
/
next.config.js
File metadata and controls
30 lines (29 loc) · 898 Bytes
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
module.exports = {
output: 'export',
reactStrictMode: true,
// By default, Next.js doesn't create index.html files in directories.
// Instead, it creates an HTML file named after the directory, which also
// works fine in browsers.
//
// docs/
// ├── getting-started.html
// └── getting-started/
//
// We want to keep the old behavior, that originates from when we used Hugo.
// Relying on index.html makes it a bit easier to use tools such as htmltest.
// With the option "trailingSlash: true", we get the following layout:
//
// docs/
// └── getting-started/
// └── index.html
//
// More documentation can be found here:
// https://nextjs.org/docs/upgrading#next-export-no-longer-exports-pages-as-indexhtml
trailingSlash: true,
eslint: {
ignoreDuringBuilds: true
},
images: {
unoptimized: true
}
}