babel-standalone icon indicating copy to clipboard operation
babel-standalone copied to clipboard

Remove es2015-loose, es2015-no-commonjs, etc with Babel 6.13.x

Open Daniel15 opened this issue 9 years ago • 5 comments

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.

Daniel15 avatar Aug 05 '16 22:08 Daniel15

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.

taion avatar Aug 05 '16 22:08 taion

I want to keep the version number equal to Babel's.

Daniel15 avatar Aug 05 '16 22:08 Daniel15

This depends on #49

Jessidhia avatar Aug 25 '16 04:08 Jessidhia

Probably the only thing we can do here is to deprecate those, if we want to keep semver.

taion avatar Aug 25 '16 12:08 taion

Ok we can do this easily (in the monorepo), just substitute it out (refactor) for now

hzoo avatar Aug 29 '17 23:08 hzoo