{
test: /\.(png|jpg)$/,
loader: 'url-loader?limit=819&name=images/[hash:8].[name].[ext]'
},
{
test: /\.(htm|html)$/i,
use:[ 'html-withimg-loader']
}
Webpack如何打包cdn引用的图片文件,本地文件引用正常,react项目
luoshui
#1