From 7c5ccb152740329de80b80231f2796d5a74b5f54 Mon Sep 17 00:00:00 2001 From: MasterAcnolo Date: Mon, 26 Oct 2026 20:43:00 +0100 Subject: [PATCH] build: optimize bundle size (only gain 1~2 MO, but it's still a weight reduction) --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 81e7f61..ed63cb0 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,12 @@ "config.js", "main.js", "preload.js", - "package.json" + "package.json", + "!node_modules/**/README", + "!node_modules/**/*.md", + "!node_modules/**/*.map", + "!**/test/**", + "!**/__tests__/**" ], "directories": { "buildResources": "build"