1.0.2 • Published 6 years ago
babel-plugin-island v1.0.2
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": "717995589@qq.com",
"homepage": "http://www.zhw-island.com"
}
]
];
}
Via Node API
require('babel-core').transform('code', {
plugins: [
[
'island',
{
author: 'Harvey Zack',
email: '717995589@qq.com',
homepage: 'http://www.zhw-island.com'
}
]
]
});
Related
License
MIT © Harvey Zack