Commit Graph

7 Commits

Author SHA1 Message Date
Ben Newman
ca7c0b9a58 Make ecmascript package enable JSX syntax in .jsx files.
Bumping the version to 0.3.0 because 0.2.x is already used on the
release-1.3 branch.
2015-12-22 11:18:28 -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