author-webpack-plugin
v1.0.1
Published
A webpack plugin to add author info to your bundles
Downloads
12
Readme
author-webpack-plugin
A webpack plugin to add author info to your bundles
How to use
// webpack.config.js
const AuthorWebpackPlugin = require('author-webpack-plugin')
const config = {
plugins: [
new AuthorWebpackPlugin({
author: 'huruji',
email: '[email protected]',
homepage: 'https://github.com/huruji/author-webpack-plugin',
github: 'https://github.com/huruji'
})
]
}
your bundle output:
/*
@Author: huruji
@Email: [email protected]
@Homepage: https://github.com/huruji/author-webpack-plugin
@Github: https://github.com/huruji
@Date: Sat Jan 12 2019 23:11:39 GMT+0800 (GMT+08:00)
*/
// your bundle code