1.0.1 • Published 5 years ago

author-webpack-plugin v1.0.1

Weekly downloads
6
License
ISC
Repository
github
Last release
5 years ago

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: 'huruji3@foxmail.com',
      homepage: 'https://github.com/huruji/author-webpack-plugin',
      github: 'https://github.com/huruji'
    })
  ]
}

your bundle output:

/*
  @Author: huruji

  @Email: huruji3@foxmail.com

  @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