Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code added by Babel is omitted #68

Open
erykpiast opened this issue Oct 4, 2020 · 0 comments
Open

Code added by Babel is omitted #68

erykpiast opened this issue Oct 4, 2020 · 0 comments

Comments

@erykpiast
Copy link
Owner

The concept of using source map as a source of truth about the module boundaries in the final bundle was... not the best one. There is a code which does not originate from the source code. It's added during the compilation process, ex. by Babel.

image

It exists in mappings returned by source map consumer, but both source and originalLine are null. Source Map Explorer presents that code as no source.

image

Maybe it's a time to switch the strategy and follow what Webpack Bundle Analyzer does.

@erykpiast erykpiast changed the title Code added by Babel is omited Code added by Babel is omitted Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant