diff --git a/src/routes/assets.ts b/src/routes/assets.ts index 796491e13..4942f8017 100644 --- a/src/routes/assets.ts +++ b/src/routes/assets.ts @@ -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,