Can webpack4.x and 3.x be installed at the same time?

now some packages use webpack4.x, and some packages still use webpack3.x, to install 3.x prompts you need 4.x, and upgrade to 4.x prompts you to need 3.x. What should I do?

May.22,2021

it is recommended to upgrade 4.0, and the corresponding plug-ins are also upgraded


webpack can be installed in the project to avoid errors caused by changes in version dependencies, so that the old version of the program will always use the old version when it does not have the time and energy to upgrade. It is better to have a relatively new stable version of the program under development.

Menu