Answer the question
In order to leave comments, you need to log in
How to solve the problem with falling off chunks after deploying a new version of the SPA application?
There is an application on Vue, js bundle is divided into chunks. After the new version is deployed, users get the following error Loading chunk chunk-2d0b5fd9 failed.
. As I understand it, this is due to the fact that html refers to chunks that no longer exist. How can this problem be solved?
Answer the question
In order to leave comments, you need to log in
Have it load all chunks in the background on app load: https://webpack.js.org/guides/code-splitting/#pref...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question