()
| 502 | } |
| 503 | |
| 504 | function getCssBundleName() { |
| 505 | const cached = cssBundleNameCache.get(config) |
| 506 | if (cached) return cached |
| 507 | |
| 508 | const cssBundleName = config.build.lib |
| 509 | ? resolveLibCssFilename( |
| 510 | config.build.lib, |
| 511 | config.root, |
| 512 | config.packageCache, |
| 513 | ) |
| 514 | : defaultCssBundleName |
| 515 | cssBundleNameCache.set(config, cssBundleName) |
| 516 | return cssBundleName |
| 517 | } |
| 518 | |
| 519 | return { |
| 520 | name: 'vite:css-post', |
no test coverage detected