generated from Luis/nextjs-python-web-template
Made client/[name] generate static pages
This commit is contained in:
@@ -2,9 +2,16 @@
|
||||
const nextConfig = {
|
||||
output: "export",
|
||||
images: { unoptimized: true },
|
||||
distDir: "build",
|
||||
eslint: {
|
||||
dirs: ["src"],
|
||||
},
|
||||
generateBuildId: async () => {
|
||||
// This could be anything, using the latest git hash
|
||||
return process.env.NEXT_BUILD_ID;
|
||||
},
|
||||
outputFileTracing: true,
|
||||
reactStrictMode: true,
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user