Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/huruji/author-webpack-plugin

A webpack4+ plugin to add author info to your bundles
https://github.com/huruji/author-webpack-plugin

webpack webpack-plugin webpack4

Last synced: 8 days ago
JSON representation

A webpack4+ plugin to add author info to your bundles

Lists

README

        

# author-webpack-plugin
A webpack plugin to add author info to your bundles

## How to use

```js
// 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:

```js
/*
@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
```