babel-plugin-streamline
v2.0.26
Published
babel plugin for streamline.js
Readme
babel-plugin-streamline
Enables streamline.js in the babel eco-system.
Installation
$ npm install babel-plugin-streamlineBabel options
{
plugins: ["streamline"]
extensions: [".js", "._js"],
extra: {
streamline: {
runtime: 'callbacks',
// more
}
}
}The callbacks runtime of streamline needs the regenerator plug-in which is included by default in babel 5.x.
The other runtimes (fibers, generators) do not need regenerator so you should blacklist it.
See the babel API docs for details.
Links
- Issues are centralized in the streamlinejs GitHub repository.
License
MIT.
