What do you understand about Webpack? What problem was solved?
Webpack is a module loading, resource packaging tool. Problem solved: How to efficiently manage and maintain every resource in a front-end project.
Advantage: CommonJS, AMD, CMD can be modularized. Not only can JS replace some grunt/gulp tasks, such as packaging, compressing and obturating, React-hot-loader (react-hot-loader)Copy the code
Main features: support both ComminJS and AMD modules flexibility and scalability load on demand packaging development in memory to complete packaging, faster performance, fully support the development process of real-time packaging requirements for source Map has good support installation: CNPM I webpack-gCopy the code
———————————————— Copyright: Joke! CC 4.0 BY-SA copyright agreement, please attach the original source link and this statement. Original link: blog.csdn.net/weixin_4390…