()
| 393 | ) |
| 394 | }, |
| 395 | closeBundle() { |
| 396 | if (this.meta.watchMode) return |
| 397 | |
| 398 | const kb = size / 1000 |
| 399 | if (kb > limit) { |
| 400 | this.error( |
| 401 | `Bundle size exceeded ${limit} kB, current size is ${kb.toFixed( |
| 402 | 2, |
| 403 | )}kb.`, |
| 404 | ) |
| 405 | } |
| 406 | }, |
| 407 | } |
| 408 | } |
| 409 |