Add FIXME comment about html-webpack-plugin-after-emit
This commit is contained in:
parent
e0f3d9a8e0
commit
d8962919b9
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue