Ben Newman
bfb9159503
Support class properties in both modern and legacy presets.
2019-07-05 17:25:36 -04:00
Ben Newman
d11c371fe0
Remove @babel/plugin-check-constants.
...
https://github.com/babel/babel/pull/6987
2018-02-13 12:54:34 -05:00
Ben Newman
bc4f515cf6
Enable async generators in legacy browsers, too.
2017-12-07 13:55:38 -05:00
Ben Newman
bf4dd0a035
Add exponentiation operator transform.
2017-12-06 17:22:16 -05:00
Ben Newman
8a64c46e1e
Export a plugin-returning function instead of the plugin itself.
2017-11-27 12:57:19 -05:00
Ben Newman
5d25487925
Switch all dependencies to latest @babel-scoped versions.
2017-11-27 11:09:18 -05:00
Ben Newman
a88359dcd4
Stop importing no-longer-depended-upon syntax plugins.
2017-10-17 13:23:13 -04:00
Ben Newman
82f89cc9b2
Remove babel-plugin-transform-es2015-modules-reify.
...
Fixes #6 .
2017-04-13 20:23:31 -04:00
Ben Newman
3bacd49c44
Add babel-plugin-transform-es2015-modules-reify to preset.
2017-03-11 15:19:26 -05:00
Ben Newman
89447166c6
Remove member-expression-literals transform.
...
Member expressions like promise.catch work in all browsers more recent
than Internet Explorer 8.
In fact, we've been using module.import and module.export (without
quoting) since Meteor 1.3, and no one has complained about that, so I
think this transform is no longer necessary.
2016-11-07 20:40:04 -05:00
Ben Newman
152b8eb7e9
Remove function-name transform.
...
This transform takes the liberty of renaming local variables so they
don't collide with the names of functions and function-valued
properties, which doesn't seem even remotely safe to me, especially
considering that function.name is merely a convenience for several other
ways of getting the name of the current function, and has not proven to
be a widely used ECMAScript feature.
This transform can be added back via .babelrc if desired, as long as you
don't mind your variables being renamed.
2016-11-07 20:39:57 -05:00
Ben Newman
fe127e0bec
Don't force babel-plugin-transform-runtime.
2016-06-17 12:12:57 -04:00
Ben Newman
dcfb52738c
Remove transform-es2015-modules-commonjs and update dependencies.
2016-05-18 20:49:33 -04:00
Ben Newman
839c1b8df5
Go back to using the real es2015-parameters transform.
2016-02-29 22:26:23 -05:00
Ben Newman
aa252702d9
Use a version of the parameters transform without faulty optimizations.
...
Until https://github.com/babel/babel/pull/3249 is fixed properly, it's
better simply to disable the rest parameter optimizations.
2016-02-03 16:17:18 -05:00
Ben Newman
57316d6bab
Wrap the modules-commonjs plugin so as not to force strict mode.
2016-02-01 21:20:07 -05:00
Ben Newman
b23433a927
Use the loose transform for template literals.
...
The stricter version calls Object.freeze, which is expensive and doesn't
even work in all browsers.
2016-01-21 16:03:35 -05:00
Ben Newman
94e8b2c839
Disable babel-runtime/core-js/... polyfills.
2016-01-20 15:43:16 -05:00
Ben Newman
8f247abbe1
Upgrade to a version of modules-commonjs that fixes template strings.
...
Thanks to my pull request: https://github.com/babel/babel/pull/3118
2016-01-20 14:38:46 -05:00
Ben Newman
339139314d
Reorganize plugins.
2016-01-12 19:13:47 -05:00
Ben Newman
4a1002c56e
Use patched CommonJS modules plugin.
...
We can go back to using babel-plugin-transform-es2015-template-literals
once https://github.com/babel/babel/pull/3118 gets merged.
2016-01-12 19:13:47 -05:00
Ben Newman
7fa4f45221
More transform plugins.
2015-11-13 14:55:07 -05:00
Ben Newman
8bc803050e
Borrowing files from babel-preset-es2015, with modifications.
2015-11-12 17:38:34 -05:00