| | |
| | | |
| | | /** @typedef {import("./SizeLimitsPlugin").EntrypointDetails} EntrypointDetails */ |
| | | |
| | | module.exports = class EntrypointsOverSizeLimitWarning extends WebpackError { |
| | | class EntrypointsOverSizeLimitWarning extends WebpackError { |
| | | /** |
| | | * Creates an instance of EntrypointsOverSizeLimitWarning. |
| | | * @param {EntrypointDetails[]} entrypoints the entrypoints |
| | | * @param {number} entrypointLimit the size limit |
| | | */ |
| | |
| | | )}). This can impact web performance. |
| | | Entrypoints:${entrypointList}\n`); |
| | | |
| | | /** @type {string} */ |
| | | this.name = "EntrypointsOverSizeLimitWarning"; |
| | | /** @type {EntrypointDetails[]} */ |
| | | this.entrypoints = entrypoints; |
| | | } |
| | | }; |
| | | } |
| | | |
| | | /** @type {typeof EntrypointsOverSizeLimitWarning} */ |
| | | module.exports = EntrypointsOverSizeLimitWarning; |