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
Hey @Nuru! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.
Wow this still happens in latest version. Got test case here. And only fails in babel-cli, babel-core's transform works well. Not sure why babel-cli is not using same implementation from babel-core.
Bug Report
This happens with versions
7.2.0 (@babel/core 7.1.0)
and6.26.0 (babel-core 6.26.3)
. Version 7.2.0 example documented below.Current Behavior
When minifying code, the generated source map has an empty
names
property, so dev tools are unable to unmangle variable names.Input Code
Output Source
Output Source Map
Expected behavior/code
Names
base
andextreme
should be in the source mapnames
array and properly mapped froma
andb
in the mapping.Babel Configuration (.babelrc, package.json, cli command)
Environment
cli
Comments
Hard to call this a reversion of #27, but this should have been fixed with #3658.
The text was updated successfully, but these errors were encountered: