What is Webpack?

  • Webpack is a front-end resource construction tool and a static module packer. From the perspective of Webpack, all resource files of the front-end will be treated as modules. It will carry out static analysis according to the dependency of modules and generate corresponding static resources by packaging.
  • Some resource files cannot be parsed by the browser. Webpack can be used to pack these resource files uniformly, such as the following less file