Incorrent display of source map in Chrome
Hi team,
I'm using Bublé in Brunch with a modified copy of (unmaintained) buble-brunch plugin that adds source map.
The output in Chrome DevTools is incorrect (in "Local", all the names are "const"
):
However, this is working in Firefox.
For the above code, the property map.names
of the Bublé output was ['const', 'let']
.
I think Chrome is confused by that because after modifying the buble code to not emit names and set hires:true
in the method that generates the output (export), the problem is gone:
It would be helpful for compatibility if it (names
) could be controlled with an option.
Thanks for give us your awesome!
btw, the babel-brunch plugin works fine with sourcemaps (but bublé is the best).