Require semicolon after 'import * from ...'
This commit is contained in:
parent
57bc9b1b0a
commit
19ef4ef69c
1
acorn.js
1
acorn.js
@ -2734,6 +2734,7 @@
|
||||
if (this.eat(tt.star)) {
|
||||
this.expectContextual("from");
|
||||
node.source = this.type === tt.string ? this.parseExprAtom() : this.unexpected();
|
||||
this.semicolon();
|
||||
return this.finishNode(node, "ExportAllDeclaration");
|
||||
}
|
||||
if (this.eat(tt._default)) { // export default ...;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user