(phase, { defaultConfig })
| 39 | * @type {import('next').NextConfig} |
| 40 | */ |
| 41 | const nextConfig = (phase, { defaultConfig }) => { |
| 42 | const config = { |
| 43 | ...defaultConfig, |
| 44 | ...baseConfig, |
| 45 | } |
| 46 | if (phase === PHASE_DEVELOPMENT_SERVER) { |
| 47 | return config |
| 48 | } |
| 49 | |
| 50 | return { |
| 51 | ...config, |
| 52 | output: 'standalone', |
| 53 | experimental: { |
| 54 | ...baseConfig.experimental, |
| 55 | outputFileTracingRoot: path.join(__dirname, '../../'), |
| 56 | }, |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | module.exports = nextConfig |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…