mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This ensures we don't normalize the `distDir` in the webpack config in dev mode as it won't be moved to the right location like it is during build. Fixes: https://github.com/vercel/next.js/issues/61105 Closes NEXT-2495
12 lines
220 B
JavaScript
12 lines
220 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'export',
|
|
// distDir: '.next-custom',
|
|
trailingSlash: true,
|
|
generateBuildId() {
|
|
return 'test-build-id'
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|