K
K
Konstantin Bozhkov2017-04-28 09:06:08
JavaScript
Konstantin Bozhkov, 2017-04-28 09:06:08

How to automate versioning of a bundle file in webpak?

The task is as follows, it is necessary to keep track of the versions of the bundle file in webpack during deployment. This is necessary due to the fact that the proxy is not under my control, and it will not work to clear the cache of the old bundle. For example, in grunt it is possible to list js modules in the layout file, which will later be assembled into one, and in their place in the html layout there will be a link to bundle.js with a version different from the old ones. I would like to create something similar with webpack, C# & VS2015 at hand.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Manakov, 2017-04-28
@ybiks

I didn’t understand the question much, but do you need hash/chunkhash mb ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question