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
2015-11-12 17:38:25 -05:00
2016-11-07 20:39:57 -05:00
2016-11-07 20:39:57 -05:00

babel-preset-meteor

Babel preset for all Meteor plugins.

Install

$ npm install --save-dev babel-preset-meteor

Usage

.babelrc

{
  "presets": ["meteor"]
}

Via CLI

$ babel script.js --presets meteor 

Via Node API

require("babel-core").transform("code", {
  presets: ["meteor"]
});
Description
No description provided
Readme MIT 202 MiB
Languages
JavaScript 91.1%
TypeScript 3.9%
Shell 0.9%
Java 0.7%
Swift 0.7%
Other 2.5%