File size: 534 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
  },
}