shellscape / webpack-manifest-plugin

webpack plugin for generating asset manifests
MIT License
1.44k stars 185 forks source link

Can I get hash string of each file after build time? #116

Closed hmtri1011 closed 6 years ago

hmtri1011 commented 6 years ago

After build time this is what I got on manifest.json file { app.js": "app-3cb7bb73.bundle.js" .... }

Can I get manifest.json file that contains hash string?? something like:

{ 'app-3cb7bb73.bundle.js': '3cb7bb73xxxxxxxxxxxxxx' }

Thanks

mastilver commented 6 years ago

yes, just use one of the hooks: https://github.com/danethurber/webpack-manifest-plugin#hooks-options