[parser] enable dynamic import by default (#10843)
* [parser] enable dynamic import by default * chore: add back babel-core api test
This commit is contained in:
committed by
Nicolò Ribaudo
parent
7bc22e42f5
commit
5b907e9bb7
@@ -922,8 +922,6 @@ export default class ExpressionParser extends LValParser {
|
||||
return this.parseImportMetaProperty(node);
|
||||
}
|
||||
|
||||
this.expectPlugin("dynamicImport", node.start);
|
||||
|
||||
if (!this.match(tt.parenL)) {
|
||||
this.raise(
|
||||
this.state.lastTokStart,
|
||||
|
||||
Reference in New Issue
Block a user