-
-
Notifications
You must be signed in to change notification settings - Fork 120
Support preset options for the bundled presets #49
Comments
Should be straightforward to do, just need to modify the code at https://github.com/Daniel15/babel-standalone/blob/master/src/index.js#L25 to handle the value being an array. |
This should probably come with bumping the minimum Babel version to 6.13 in package.json. |
Wrote #50 to implement this; also added support for passing options to plugins. The package.json already requests |
Oh, neat, didn't see that package.json got bumped. |
Yeah I've got a somewhat-automated process for bumping versions in |
Added in #50, thanks @Kovensky! |
Right now, if, for example,
[ [ "es2015", {} ] ]
is given to plainbabel-standalone
in a browser, it causes babel to error out as itCouldn't find preset "es2015" relative to directory "."
.The text was updated successfully, but these errors were encountered: