rsnext/test/integration/app-dir-export/next.config.js
JJ Kasper df2e09f095
Fix output: export with custom distDir (#62064)
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
2024-02-14 21:23:10 +00:00

11 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