我是靠谱客的博主 俊逸电话,这篇文章主要介绍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
},

转载于:https://www.cnblogs.com/me168/p/10013816.html

最后

以上就是俊逸电话最近收集整理的关于webpack打包踩的坑的全部内容,更多相关webpack打包踩内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(70)

评论列表共有 0 条评论

立即
投稿
返回
顶部