cleandistwebpackplugin
v2.0.0
Published
cleanDistWebpackPlugin可以在webpack打包之前,清除打包目录
Downloads
4
Readme
cleanDistWebpackPlugin
介绍
cleanDistWebpackPlugin可以在webpack打包之前,清除打包目录
示例
new cleanDistWebpackPlugin({
path:'./dist',//默认是./dist 可选
exclude:['src/3.txt']//可以设置这些目录或者文件 不被清除 路径相对于打包目录
})