# Webpack打包其它资源

module:{
    rules:[
        // 打包其它资源
        {
            exclude:/\.(css|html|less|scss|js)$/,
            loader:'file-loader',
            options:{
                name:'[hash:10].[ext]'
            }
        }
    ]
}
Last Updated: 8/9/2020, 4:06:59 PM