We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d01415 commit d385877Copy full SHA for d385877
next.config.mjs
@@ -1,11 +1,12 @@
1
/** @type {import('next').NextConfig} */
2
const nextConfig = {
3
output: 'export',
4
+ distDir: 'build',
5
basePath: '',
- assetPrefix: '',
6
+ assetPrefix: './_next/',
7
images: {
8
unoptimized: true,
9
},
10
};
11
-export default nextConfig;
12
+export default nextConfig;
package.json
@@ -7,7 +7,6 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
- "postbuild": "node scripts/fix-paths.js",
"deploy": "gh-pages -d out"
13
"dependencies": {
scripts/fix-paths.js
0 commit comments