Download next.js/bench/module-cost/next.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 534 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/bench/module-cost/next.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/bench/module-cost/next.config.js
-
curl -L -o next.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/bench/module-cost/next.config.js
534 Bytes
| const idx = process.execArgv.indexOf('--cpu-prof') | |
| if (idx >= 0) process.execArgv.splice(idx, 1) | |
| /** @type {import("next").NextConfig} */ | |
| module.exports = { | |
| eslint: { | |
| ignoreDuringBuilds: true, | |
| }, | |
| experimental: { | |
| // With Scope Hoisting ESM require cost is 0 and that's not what we want to test | |
| turbopackScopeHoisting: false, | |
| }, | |
| webpack: (config) => { | |
| // With Scope Hoisting ESM require cost is 0 and that's not what we want to test | |
| config.optimization.concatenateModules = false | |
| return config | |
| }, | |
| } | |