webpack-hashed-chunk-id-plugin

1.0.3-beta • Public • Published

npm

webpack-hashed-chunk-id-plugin

Designate hashed chunk path as the chunk id

Install

$ npm i webpack-hashed-chunk-id-plugin --save

Usage

const hashedChunkIdPlugin = require('webpack-hashed-chunk-id-plugin')

webpackConfig = {
  plugins: [
    new hashedChunkIdPlugin()
  ]
}

You can specify the hash length you want (defualt 4):

new hashedChunkIdPlugin({
  length: 10
})

Author

daixinye

Readme

Keywords

Package Sidebar

Install

npm i webpack-hashed-chunk-id-plugin

Weekly Downloads

8

Version

1.0.3-beta

License

MIT

Last publish

Collaborators

  • daixinye