We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5951ec1 commit f6cb9d3Copy full SHA for f6cb9d3
next.config.mjs
@@ -14,6 +14,7 @@ const nextConfig = {
14
eslint: {
15
ignoreDuringBuilds: true,
16
},
17
+ output: "export",
18
images: {
19
unoptimized: true,
20
domains: ["static.ian.pw"],
package.json
@@ -10,7 +10,7 @@
10
"sitemap": "next-sitemap --config next-sitemap.config.mjs",
11
"build": "next build && yarn sitemap",
12
"build:analyze": "ANALYZE=1 next build",
13
- "build:static": "NEXT_PUBLIC_EXPORT_STATIC=1 yarn build && NEXT_PUBLIC_EXPORT_STATIC=1 next export",
+ "build:static": "NEXT_PUBLIC_EXPORT_STATIC=1 yarn build",
"typecheck": "tsc",
"start": "next start",
"postinstall": "husky install"
0 commit comments