levp / wrapper-webpack-plugin

A webpack plugin that wraps output files (chunks) with custom text or code.
91 stars 37 forks source link

WrapperPlugin doesn't change [contenthash] #14

Open baymer opened 3 years ago

baymer commented 3 years ago

For production we use namings like [name].[contenthash:8].min.js. We add WrapperPlugin to add a header and a footer, but js-file on CDN didn't change because the contenthash is old.

nzwnetbizcorp commented 8 months ago

For production we use namings like [name].[contenthash:8].min.js. We add WrapperPlugin to add a header and a footer, but js-file on CDN didn't change because the contenthash is old.

i met same problem, have you solve it?