参考地址:https://www.cnblogs.com/sampapa/p/6958166.html
webpack中文文档:http://www.css88.com/doc/webpack2/api/plugins/