fix(webpackMiddleware): add (now) missing plugins declaration from productionConfig

required since we used `mini-css-extract-plugin` now
This commit is contained in:
Panagiotis Papadopoulos 2025-02-21 22:06:00 +01:00
parent ac53079a39
commit 1b309675c8

View File

@ -28,6 +28,7 @@ async function register(app: express.Application) {
type: "filesystem",
cacheDirectory: path.join(srcRoot, "..", ".cache", isElectron ? "electron" : "server")
},
plugins: productionConfig.plugins,
entry: productionConfig.entry,
module: productionConfig.module,
resolve: productionConfig.resolve,