;

/** * Module bundlers compile small pieces of code into something larger and more * complex that can run in a web browser. These small pieces are just JavaScript * files, and dependencies between them are expressed by a module system * (https://webpack.js.org/concepts/modules). * * Module bundlers have this concept of an entry file. Instead of adding a few * script tags in the browser and letting them run, we let the bundler know * which file is the main file of our application. This is the file that should * bootstrap our entire application. * * Our bundler will start from…

webpack的简化实现 2021年5月28日