Ben Newman
e89d68f636
Support .mjs modules (as well as .js and .jsx) in ecmascript plugin.
...
https://github.com/meteor/meteor/pull/10522#issuecomment-505553025
2019-06-25 14:11:17 -04:00
Ben Newman
0efd8b7bef
Allow JSX syntax in .js files compiled with ecmascript.
...
Fixes #6151 .
2016-02-23 18:32:32 -05:00
Ben Newman
b1aad31fc1
Support require("babel-runtime/...") for compatibility with Babel 6.
2016-01-20 23:32:28 -05:00
Ben Newman
86b743f963
Make ecmascript package enable JSX syntax in .jsx files.
2015-12-18 13:03:34 -05:00
Avital Oliver
2f43fff0c9
Enable ES2015 async/await by default in "ecmascript" package
2015-12-09 15:40:33 -08:00
Ben Newman
370bc571e2
Enable the Babel ES2015 modules-to-CommonJS transform.
2015-12-09 14:37:22 -05:00
Sashko Stubailo
527cc13a8b
Move BabelCompiler class into babel-compiler package
...
It used to be in the ecmascript package.
I want to use it in the jsx package, so it needs to be exported from somewhere.
2015-09-18 14:31:20 -04:00
Ben Newman
260384f7b0
Exclude .es5.js files from ecmascript compilation.
...
This provides an easy workaround for issues like #5198 .
2015-09-18 14:14:51 -04:00
Ben Newman
5e4ed8eb28
Fix IE8 for-in loops using babelHelpers.sanitizeForInObject.
...
Upgraded meteor-babel to 0.5.4 for sanitizeForInObject support.
2015-08-03 20:40:11 -04:00
Ben Newman
c2d8a1b6c4
Upgrade meteor-babel and enable jscript plugin for client-side code.
...
The jscript plugin works around various limitations of older Internet
Explorer versions, in particular those described here:
http://kiro.me/blog/nfe_dilemma.html
2015-07-23 14:39:18 -04:00
Ben Newman
6031df4b52
Print better errors when ecmascript compilation fails.
2015-07-16 22:54:24 -04:00
Ben Newman
095ded40b0
Add an ecmascript core package.
...
This package will be installed by default for all new apps and packages.
Passing the {transpile:false} option to api.addFiles makes it possible for
a dependent package to specify that some files should not be processed
through babel-compiler.
2015-07-16 18:02:07 -04:00