Entrypoint undefined = index.html html-webpack-plugin 错误

 

加上  stats: { children: false } 即可,屏蔽错误;

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

相关文章:

  • 2022-12-23
  • 2021-06-01
  • 2021-08-17
  • 2021-10-28
  • 2021-06-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
相关资源
相似解决方案