babel-standalone
babel-standalone copied to clipboard
Remove es2015-loose, es2015-no-commonjs, etc with Babel 6.13.x
See discussion in https://github.com/Daniel15/babel-standalone/pull/42#issuecomment-237982787
From @taion:
The 6.13.x API actually moots es2015-loose, es2015-no-commonjs, &c. – might be worth cutting a breaking release that just drops those and has just es2015? That'd take the major version out of sync with Babel itself, though.
It depends how closely you want to follow semver. Probably it would be more confusing than it'd be worth for the version of babel-standalone tracking Babel 6.13.x to be 7.0.0.
But it is really nice to just write
["es2015", { "modules": false }]
["es2015", { "loose": true }]
&c.
I want to keep the version number equal to Babel's.
This depends on #49
Probably the only thing we can do here is to deprecate those, if we want to keep semver.
Ok we can do this easily (in the monorepo), just substitute it out (refactor) for now