Download next.js/packages/next/src/cli/next-export.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 372 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/cli/next-export.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/next/src/cli/next-export.ts
-
curl -L -o next-export.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/cli/next-export.ts
372 Bytes
| import { cyan } from '../lib/picocolors' | |
| import { error } from '../build/output/log' | |
| const nextExport = () => { | |
| error(` | |
| \`next export\` has been removed in favor of 'output: export' in next.config.js.\nLearn more: ${cyan( | |
| 'https://nextjs.org/docs/app/building-your-application/deploying/static-exports' | |
| )} | |
| `) | |
| process.exit(1) | |
| } | |
| export { nextExport } | |