()
| 2 | import { error } from '../build/output/log' |
| 3 | |
| 4 | const nextExport = () => { |
| 5 | error(` |
| 6 | \`next export\` has been removed in favor of 'output: export' in next.config.js.\nLearn more: ${cyan( |
| 7 | 'https://nextjs.org/docs/app/building-your-application/deploying/static-exports' |
| 8 | )} |
| 9 | `) |
| 10 | |
| 11 | process.exit(1) |
| 12 | } |
| 13 | |
| 14 | export { nextExport } |