logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: d8962919b9ceca21ee0022584b82767fe3743fc3
parent e0f3d9a8e053de908f5ec5ccef55c17840e2bcbe
Author: Tusooa Zhu <tusooa@kazv.moe>
Date:   Tue, 16 Aug 2022 07:57:42 -0400

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

Diffstat:

Mbuild/dev-server.js2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/build/dev-server.js b/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) {