You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"If you want to pass options to the transforms, you can use a 2-element array inside of the primary array. Here fff gets an options object with {"x":3} and ggg gets {"y":4}:"
From babel/babelify#142, it seems the syntax where individual transforms are specified as arrays is correct.
The syntax for this part:
is odd: the array doesn't seem to be used as an ordered list of items.
"babelify"
is item 0,{"presets": ["es2015"]}
is item 1. What would item 2 be?If there wouldn't ever be an item 2, and this is simply a map between
babelify
and babelify's options, wouldn't an object be more logical?The text was updated successfully, but these errors were encountered: