webpack打包踩的坑

打包的时候一直包这个错误

Child html-webpack-plugin for "..\index.html":
1 asset
Entrypoint html-webpack-plugin for "..\index.html" = ../index.html
Child mini-css-extract-plugin node_modules/css-loader/index.js!node_modules/ivie
w/dist/styles/iview.css:
Entrypoint mini-css-extract-plugin = *

解决办法:在webpack.config.js文件加上

stats: {
// One of the two if I remember right
entrypoints: false,
children: false
},

posted @ 2018-11-24 22:09  金州恶汉拉文  阅读(1100)  评论(0编辑  收藏  举报