From 508ab5905d3f1f09819c0d84cb7d126c91334500 Mon Sep 17 00:00:00 2001 From: Vince Au Date: Wed, 24 Jan 2024 19:15:08 +1100 Subject: [PATCH] chore(webpack): actually show renderer asset stats --- .erb/configs/webpack.config.main.prod.ts | 2 -- .erb/configs/webpack.config.renderer.prod.ts | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.erb/configs/webpack.config.main.prod.ts b/.erb/configs/webpack.config.main.prod.ts index d116ac3ce..11e69f19d 100644 --- a/.erb/configs/webpack.config.main.prod.ts +++ b/.erb/configs/webpack.config.main.prod.ts @@ -41,8 +41,6 @@ const configuration: webpack.Configuration = { mode: "production", - stats: { assets: true }, - target: "electron-main", entry: { diff --git a/.erb/configs/webpack.config.renderer.prod.ts b/.erb/configs/webpack.config.renderer.prod.ts index ab3160e12..f227e6873 100644 --- a/.erb/configs/webpack.config.renderer.prod.ts +++ b/.erb/configs/webpack.config.renderer.prod.ts @@ -37,6 +37,8 @@ const configuration: webpack.Configuration = { target: ["web", "electron-renderer"], + stats: { assets: true }, + entry: [path.join(webpackPaths.srcRendererPath, "index.tsx")], output: {