1.这里清除的意思是,只保留当前需要引入的,需要打包的文件。

    1. npm install clean-webpack-plugin --save-dev

    image.png
    上图是错误的引入方式,下图是更新版的:
    image.png