webpack-upload
webpack-upload copied to clipboard
如何上传html文件?
可以通过过滤函数把包括html在内的所有文件上传吗?比如
test: function(filepath) {
return filepath.indexOf('') > -1;
}
可以,只要是编译生成的文件,匹配test规则后都可以上传的
原始邮件 发件人:后悔编程哥[email protected] 收件人:fisherw/[email protected] 抄送:[email protected] 发送时间:2019年9月18日(周三) 15:41 主题:[fisherw/webpack-upload] 如何上传html文件? (#5)
可以通过过滤函数把包括html在内的所有文件上传吗?比如 test: function(filepath) { return filepath.indexOf('') -1; } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.