关于vue2运行时filemanager-webpack-plugin报错isFile is undefind
当我们在运行时报此错误时,在vue.config.js里找一下filemanager-webpack-plugin的配置路径。
new FileManagerPlugin({
onEnd: {
delete: ['./dist.zip'],
archive: [{ source: './dist', destination: './dist.zip' }]
}
})
在对应的路径下建一个dist文件夹