当前位置: 代码迷 >> 综合 >> [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future
  详细解决方案

[DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future

热度:2   发布时间:2023-12-24 18:08:16.0
DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.

这是 html-webpack-plugin 引起的

解决办法:

npm uninstall html-webpack-plugin
npm install -D html-webpack-plugin@next
  相关解决方案