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

shigusegubu-vue3
Tusooa Zhu 10 months ago
parent e0f3d9a8e0
commit d8962919b9
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
  1. 2
      build/dev-server.js

@ -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…
Cancel
Save