Download next.js/test/development/app-dir/source-mapping/next.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/app-dir/source-mapping/next.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/app-dir/source-mapping/next.config.js
-
curl -L -o next.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/app-dir/source-mapping/next.config.js
322 Bytes
| /** | |
| * @type {import('next').NextConfig} | |
| */ | |
| const nextConfig = { | |
| assetPrefix: '/assets', | |
| rewrites() { | |
| return { | |
| beforeFiles: [ | |
| { | |
| source: '/assets/:path*', | |
| destination: '/:path*', | |
| }, | |
| ], | |
| } | |
| }, | |
| experimental: { | |
| ppr: true, | |
| }, | |
| } | |
| module.exports = nextConfig | |