()
| 241 | !partialEnv.config.isBundled && |
| 242 | !isDepOptimizationDisabled(partialEnv.config.optimizeDeps) |
| 243 | const getDepsOptimizer = () => { |
| 244 | const env = getEnv() |
| 245 | if (env.mode !== 'dev') |
| 246 | throw new Error('The environment mode should be dev') |
| 247 | if (!env.depsOptimizer) |
| 248 | throw new Error('The environment should have a depsOptimizer') |
| 249 | return env.depsOptimizer |
| 250 | } |
| 251 | |
| 252 | const options: InternalResolveOptions = { |
| 253 | ...partialEnv.config.resolve, |
no test coverage detected