(chunk: Rollup.RenderedChunk)
| 1018 | } |
| 1019 | |
| 1020 | function isLegacyChunk(chunk: Rollup.RenderedChunk) { |
| 1021 | return chunk.fileName.includes('-legacy') |
| 1022 | } |
| 1023 | |
| 1024 | function isLegacyBundle(bundle: Rollup.OutputBundle) { |
| 1025 | const entryChunk = Object.values(bundle).find( |