I would like to ask that it is necessary for App, which generally does not have high performance requirements, to optimize webpack?. It feels so complicated to configure webpack.

how do you learn about webpack?

Mar.22,2021

1. Whether the performance requirement is high or not has nothing to do with using webpack. If the performance is not high, you can also use webpack, and webpack can not guarantee high performance.
2. To learn webpack, you can first take a look at Ruan Yifeng's tutorials to understand what he does, and first be familiar with some common configurations
3. After seeing how the webpack of the project generated by vue-cli or create-react-app is configured


agrees with @ Xiamen Bing. Whether or not to use webpack does not depend on performance requirements. The configuration of webpack is relatively complex. However, to master the basic configuration items, the configuration of a simple project is still very simple, as long as you need to understand that its ideological problem is absolutely not big. As for the fact that you want to go further, I suggest you take a look at how to implement the simplest bundler

for yourself.
Menu