首页 > Web开发 > 详细

webpack打包踩的坑

时间:2018-11-24 23:15:48      阅读:238      评论:0      收藏:0      [点我收藏+]

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

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
},

webpack打包踩的坑

原文:https://www.cnblogs.com/me168/p/10013816.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!