mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-20 02:51:40 +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",
|
type: "filesystem",
|
||||||
cacheDirectory: path.join(srcRoot, "..", ".cache", isElectron ? "electron" : "server")
|
cacheDirectory: path.join(srcRoot, "..", ".cache", isElectron ? "electron" : "server")
|
||||||
},
|
},
|
||||||
|
plugins: productionConfig.plugins,
|
||||||
entry: productionConfig.entry,
|
entry: productionConfig.entry,
|
||||||
module: productionConfig.module,
|
module: productionConfig.module,
|
||||||
resolve: productionConfig.resolve,
|
resolve: productionConfig.resolve,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user