fix getSpecifierName
This commit is contained in:
parent
5534f99a96
commit
db490b4be7
@ -8,7 +8,7 @@ exports.ImportDeclaration = function (node) {
|
||||
|
||||
if (node.specifiers.length) {
|
||||
_.each(node.specifiers, function (specifier) {
|
||||
var variableName = getSpecifierName(specifier.name);
|
||||
var variableName = getSpecifierName(specifier);
|
||||
var key = specifier.id.name;
|
||||
|
||||
// import foo from "foo";
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "6to5",
|
||||
"description": "Turn ES6 code into vanilla ES5 with source maps and no runtime",
|
||||
"version": "1.7.5",
|
||||
"version": "1.7.6",
|
||||
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
||||
"homepage": "https://github.com/sebmck/6to5",
|
||||
"repository": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user