parcel-plugin-bundle-visualiser
parcel-plugin-bundle-visualiser copied to clipboard
Doesn't work with --experimental-scope-hoisting
With tree shaking, the visualization shows nonsense results that match the pre-shook bundle size, like multiple 600kb files within 300kb bundles.
Another variant of the nonsense output:
- node_modules: 700KB
- one of the directories inside node_modules 1.1MB.
This is a particularly troublesome problem, because it means the readily available tool for analyzing the bundle output, cannot be used to assess and investigate whether and to what extent optimization is working.
To further the trouble, --experimental-scope-hoisting disables source map output, which prevents using other common non-parcel-specific tools to investigate bundle size and what is included.