fix export when array destructuring exported value with hole
This commit is contained in:
@@ -119,6 +119,8 @@ export default function() {
|
||||
}
|
||||
} else if (left.isArrayPattern()) {
|
||||
for (const element of left.node.elements) {
|
||||
if (!element) continue;
|
||||
|
||||
const name = element.name;
|
||||
|
||||
const exports = this.exports[name];
|
||||
|
||||
Reference in New Issue
Block a user