Add FIXME comment about html-webpack-plugin-after-emit
This commit is contained in:
parent
e0f3d9a8e0
commit
d8962919b9
|
@ -29,6 +29,8 @@ var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
||||||
})
|
})
|
||||||
|
|
||||||
var hotMiddleware = require('webpack-hot-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
|
// force page reload when html-webpack-plugin template changes
|
||||||
// compiler.plugin('compilation', function (compilation) {
|
// compiler.plugin('compilation', function (compilation) {
|
||||||
// compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
// compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
||||||
|
|
Loading…
Reference in New Issue