Skip to content

Build your personal knowledge base with Trilium Notes

fix(monorepo): remove profiling which was masking errors

Elian Doran5b28e309a85b
diff --git a/apps/client/package.json b/apps/client/package.json
index bfd57d2be7..e64ccff80b 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 8ba41f2101..aa63023025 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"
};