babel-plugin-island
v1.0.2
Published
A island plugin for Babel
Downloads
11
Readme
babel-plugin-island
island plugin for Babel (目前测试用于文件头部输出作者信息)
Install
$ npm i --save-dev babel-plugin-island
Usage
Via .babelrc (Recommended)
{
"plugins": [
[
"island",
{
"author": "Harvey Zack",
"email": "[email protected]",
"homepage": "http://www.zhw-island.com"
}
]
];
}
Via Node API
require('babel-core').transform('code', {
plugins: [
[
'island',
{
author: 'Harvey Zack',
email: '[email protected]',
homepage: 'http://www.zhw-island.com'
}
]
]
});
Related
License
MIT © Harvey Zack