You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, It cannot parse properly when webpack5 config library type to module. Because webpack5 append some codes like export {a, b, c} to the end of the bundle.
Activity
valscion commentedon Mar 26, 2021
Thanks for opening an issue! PR is welcome☺️
g3tr1ght commentedon Jul 29, 2021
kiranbayram commentedon Mar 22, 2022
@valscion Do you have any pointers how this can be implemented? I'd try to help if i can
Airkro commentedon Mar 24, 2022
Turn
https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/d96ebed7d0dd38e6a0b9a935aaac0d3c24722944/src/parseUtils.js#L13
To
sourceType: 'module'will work
opeologist commentedon Apr 27, 2022
any update on this? would love to analyze these types of bundles
ml1nk commentedon Nov 18, 2022
I tried changing the sourceType but it didn't work. I think the data structure changes somewhat.
dbrenot-pelmorex commentedon Dec 22, 2022
Heads up that this is still an issue.
valscion commentedon Dec 22, 2022
Anyone who wants to can take a stab at fixing this with a PR☺️
Zaokret commentedon Feb 7, 2023
I'll take a stab at this.
Fixes webpack#427, webpack#556 adds options to set sourceType
Fixes webpack#427, webpack#556 adds options to set sourceType
Fixes webpack#427, webpack#556 adds options to set sourceType
Fixes webpack#427, webpack#556 adds options to set sourceType