mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
The jscript plugin works around various limitations of older Internet Explorer versions, in particular those described here: http://kiro.me/blog/nfe_dilemma.html
The ecmascript package registers a compiler plugin that transpiles
ECMAScript 2015+ to ECMAScript 5 (standard JS) in all .js files. By
default, this package is pre-installed for all new apps and packages.
To add this package to an existing app, run the following command from your app directory:
meteor add ecmascript
To add the ecmascript package to an existing package, include the
statement api.use('ecmascript'); in the Package.onUse callback in your
package.js file:
Package.onUse(function (api) {
api.use('ecmascript');
});