From 5b28e309a85b24786e44bca62ca006ee017c892a Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 18 Apr 2025 02:09:50 +0300 Subject: [PATCH] fix(monorepo): remove profiling which was masking errors --- apps/client/package.json | 3 +-- apps/client/webpack.config.ts | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/apps/client/package.json b/apps/client/package.json index bfd57d2be..e64ccff80 100644 --- a/apps/client/package.json +++ b/apps/client/package.json @@ -20,8 +20,7 @@ "type": "module", "main": "index.js", "scripts": { - "build:webpack": "tsx node_modules/webpack/bin/webpack.js -c webpack.config.ts --progress", - "build:webpack-stats": "tsx node_modules/webpack/bin/webpack.js -c webpack.config.ts --profile --json=webpack-stats.json" + "build:webpack": "tsx node_modules/webpack/bin/webpack.js -c webpack.config.ts" }, "devDependencies": { "autoprefixer": "10.4.21", diff --git a/apps/client/webpack.config.ts b/apps/client/webpack.config.ts index 8ba41f210..aa6302302 100644 --- a/apps/client/webpack.config.ts +++ b/apps/client/webpack.config.ts @@ -121,11 +121,7 @@ const config: Configuration = { stylesheets: path.resolve(rootDir, "src/public/stylesheets") } }, - stats: { - all: false, - assets: true, - groupAssetsByChunk: true - }, + stats: "verbose", devtool: "nosources-source-map", target: "electron-renderer" };