Add FIXME comment about html-webpack-plugin-after-emit

このコミットが含まれているのは:
Tusooa Zhu 2022-08-16 07:57:42 -04:00
コミット d8962919b9
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 7B467EDE43A08224
1個のファイルの変更2行の追加0行の削除

ファイルの表示

@ -29,6 +29,8 @@ var devMiddleware = require('webpack-dev-middleware')(compiler, {
})
var hotMiddleware = require('webpack-hot-middleware')(compiler)
// FIXME: The statement below gives error about hooks being required in webpack 5.
// force page reload when html-webpack-plugin template changes
// compiler.plugin('compilation', function (compilation) {
// compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {