(performance, { production })
| 2141 | * @returns {void} |
| 2142 | */ |
| 2143 | const applyPerformanceDefaults = (performance, { production }) => { |
| 2144 | if (performance === false) return; |
| 2145 | D(performance, "maxAssetSize", 250000); |
| 2146 | D(performance, "maxEntrypointSize", 250000); |
| 2147 | F(performance, "hints", () => (production ? "warning" : false)); |
| 2148 | }; |
| 2149 | |
| 2150 | /** |
| 2151 | * Apply optimization defaults. |
no test coverage detected