Strip location information from import remaps
Fixes https://phabricator.babeljs.io/T6851
This commit is contained in:
@@ -330,7 +330,7 @@ export default function () {
|
||||
]));
|
||||
}
|
||||
}
|
||||
remaps[specifier.local.name] = t.memberExpression(target, specifier.imported);
|
||||
remaps[specifier.local.name] = t.memberExpression(target, t.cloneWithoutLoc(specifier.imported));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user