mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-19 02:10:04 +08:00
fix(webpackMiddleware): add (now) missing plugins declaration from productionConfig
required since we used `mini-css-extract-plugin` now
This commit is contained in:
parent
ac53079a39
commit
1b309675c8
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user