babel-plugin-greed
babel plugin for greed
Last updated 4 years ago by kennetpostigo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-plugin-greed 
SYNC missed versions from official npm registry.

Babel-Plugin-Greed

Babel Plugin for statically transforming data dependencies

This module should be used along within your projects if you are using greed. It ensures that data is available before your UI renders, preventing Waterfall pit.

Installation

npm install babel-plugin-greed

Usage

VIA .babelrc (Recommended)

{
  "plugins": ["babel-plugin-greed"]
}

Via CLI

babel --plugins babel-plugin-greed

Via Node API

require("babel-core").transform("code", {
  plugins: [require("babel-plugin-greed")]
});

License

MIT

Current Tags

  • 0.2.1                                ...           latest (4 years ago)

1 Versions

  • 0.2.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |