entry-hash-webpack-plugin

1.0.1 • Public • Published

entry-hash-webpack-plugin

A webpack plugin to add entry js to index.html

Installation

npm install clean-webpack-plugin --save-dev

Example Webpack Config

var entryHashWebpackPlugin = require('entry-hash-webpack-plugin');

module.exports = {
  plugins: [
    new entryHashWebpackPlugin({isProduction:true, entryName:'__main_entry__'})
  ]
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i entry-hash-webpack-plugin

      Weekly Downloads

      2

      Version

      1.0.1

      License

      ISC

      Last publish

      Collaborators

      • askliujun