Correct option name: features => plugins.
This commit is contained in:
parent
5b6a39f227
commit
f660dd3430
@ -46,7 +46,7 @@ require("babylon").parse("code", {
|
||||
// parse in strict mode and allow module declarations
|
||||
sourceType: "module",
|
||||
|
||||
features: [
|
||||
plugins: [
|
||||
// enable experimental async functions
|
||||
"asyncFunctions",
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user