Files
meteor/packages/modules
Ben Newman 4529885a6a Compile ECMAScript for web.browser with fewer Babel plugins.
https://github.com/meteor/babel-preset-meteor/blob/master/modern.js
https://github.com/meteor/babel/blob/dfcce32868/options.js#L81

With the minimum versions from babel-preset-meteor/modern-versions.js, the
difference between "modern" and "legacy" browsers boils down to supporting
native async functions.

I'm eager to stop compiling generator functions with Regenerator, and none
of the transforms that compile async functions to native generator
functions seem much better than the Regenerator experience (source maps
are still wonky within the async function, so it's obvious you're not
working with native code).

Native async functions are supported by 73% of desktop and mobile browsers
worldwide (81% in the US), and that percentage is only going to keep
increasing. I see no reason not to embrace this future now.
2018-01-22 18:07:55 -05:00
..
2017-04-19 17:41:11 -04:00
2017-12-05 15:50:32 +07:00
2017-04-19 17:41:11 -04:00

modules

Using JavaScript modules in Meteor ES2015 module support for Meteor

Read more at https://docs.meteor.com/packages/modules.html