@@ -37,11 +37,15 @@ module.exports = {
},
]
- plugins:[
+ plugins: [
new HtmlWebpackPlugin({
- template: './index.html'
+ template: './index.html'
})
],
+ // 关闭体积校验
+ performance: {
+ hints: false
+ },
// 映射源码
devtool: "inline-source-map"
}