E
E
Egor2016-07-29 07:52:51
JavaScript
Egor, 2016-07-29 07:52:51

How to make webpack give different hash?

webpack was generating the filename as [chunkhash].js. I thought that when changing files chunkhash will always be different. Somehow it turned out that chunkhash became the same and the file was cached, in fact, an error appeared on the site because of this. How can I make webpack generate chunkhash always different? Or maybe substitute some other value so that the name is always different?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
_
_ _, 2016-07-29
@AMar4enko

Put just hash instead of chunkhash

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question