Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

babel-preset-cf

Babel preset for CloudFlare

Install

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

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["cf"]
}

Via CLI

$ babel script.js --presets cf

Via Node API

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

About

Babel preset for Cloudflare

Resources

License

Packages

No packages published