Closed
Description
Currently the plugin detects if a chunk is initial based on the [isDynamicEntry
information from rollup](https://github.com/relative-ci/rollup-plugin-webpack-stats/blob/master/src/transform.ts#L140). This is a pretty broken heuristic as a chunk might be synchronously imported by a chunk that is dynamic.
Example
A (initial) lazy loads B that synchronously loads C.
Expected: C should not be marked initial
Currently: C is marked as initial