Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 642 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 642 Bytes

basic-banner-webpack-plugin

Append the name and version of a package before the bundle.

This package just instance banner-webpack-plugin with a minimal config.

Install

npm i -D basic-banner-webpack-plugin

Usage

const BasicBannerWebpackPlugin = require('basic-banner-webpack-plugin')

module.exports = {
  entry: './src/index.js',
  output: {
    filename: './dist/bundle.js'
  },
  plugins: [
    new BasicBannerWebpackPlugin()
  ]
}

Demo

/*! ramda v1.0.0 */
(function(){"use strict";var t={"@@functional/placeholder":!0},n=function(t,n){}})()