1.0.13 • Published 7 years ago

babel-preset-meze v1.0.13

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

babel-preset-meze

Babel preset for all Meze plugins.

As of the time of writing this README there is actually only one Meze plugin which is needed for Babel integration, but in case that changes, we recommend consuming this module in the first place, instead of using the transform plugin directly.

Install

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

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["meze"]
}

Via CLI

$ babel script.js --presets meze 

Via Node API

require("babel-core").transform("code", {
  presets: ["meze"]
});