2026-09-11 15:56:28 +08:00
|
|
|
import constants from "next/constants.js";
|
2026-09-01 16:33:25 +08:00
|
|
|
|
2026-09-11 15:56:28 +08:00
|
|
|
/** Keep verification builds from replacing a running development server's assets. */
|
|
|
|
|
export default function nextConfig(phase) {
|
|
|
|
|
return {distDir: phase === constants.PHASE_DEVELOPMENT_SERVER ? ".next-dev" : ".next"};
|
|
|
|
|
}
|