diff --git a/packages/suite-desktop/package.json b/packages/suite-desktop/package.json index b9ead0dc425..2d8e1a599f0 100644 --- a/packages/suite-desktop/package.json +++ b/packages/suite-desktop/package.json @@ -31,8 +31,14 @@ }, "devDependencies": { "@electron/notarize": "2.5.0", + "@types/webpack-bundle-analyzer": "^4", + "@types/webpack-plugin-serve": "^1.4.6", + "copy-webpack-plugin": "^12.0.2", "electron": "32.2.6", "electron-builder": "25.1.8", - "glob": "^10.3.10" + "glob": "^10.3.10", + "rimraf": "^6.0.1", + "webpack-bundle-analyzer": "^4.10.2", + "webpack-plugin-serve": "^1.6.0" } } diff --git a/yarn.lock b/yarn.lock index c019d6f855c..a5bdec122d8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12256,7 +12256,10 @@ __metadata: resolution: "@trezor/suite-desktop@workspace:packages/suite-desktop" dependencies: "@electron/notarize": "npm:2.5.0" + "@types/webpack-bundle-analyzer": "npm:^4" + "@types/webpack-plugin-serve": "npm:^1.4.6" blake-hash: "npm:^2.0.0" + copy-webpack-plugin: "npm:^12.0.2" electron: "npm:32.2.6" electron-builder: "npm:25.1.8" electron-localshortcut: "npm:^3.2.1" @@ -12264,7 +12267,10 @@ __metadata: electron-updater: "npm:6.3.9" glob: "npm:^10.3.10" openpgp: "npm:^6.0.1" + rimraf: "npm:^6.0.1" usb: "npm:^2.14.0" + webpack-bundle-analyzer: "npm:^4.10.2" + webpack-plugin-serve: "npm:^1.6.0" languageName: unknown linkType: soft @@ -14112,7 +14118,7 @@ __metadata: languageName: node linkType: hard -"@types/webpack-bundle-analyzer@npm:^4.7.0": +"@types/webpack-bundle-analyzer@npm:^4, @types/webpack-bundle-analyzer@npm:^4.7.0": version: 4.7.0 resolution: "@types/webpack-bundle-analyzer@npm:4.7.0" dependencies: @@ -42428,6 +42434,28 @@ __metadata: languageName: node linkType: hard +"webpack-bundle-analyzer@npm:^4.10.2": + version: 4.10.2 + resolution: "webpack-bundle-analyzer@npm:4.10.2" + dependencies: + "@discoveryjs/json-ext": "npm:0.5.7" + acorn: "npm:^8.0.4" + acorn-walk: "npm:^8.0.0" + commander: "npm:^7.2.0" + debounce: "npm:^1.2.1" + escape-string-regexp: "npm:^4.0.0" + gzip-size: "npm:^6.0.0" + html-escaper: "npm:^2.0.2" + opener: "npm:^1.5.2" + picocolors: "npm:^1.0.0" + sirv: "npm:^2.0.3" + ws: "npm:^7.3.1" + bin: + webpack-bundle-analyzer: lib/bin/analyzer.js + checksum: 10/cb7ff9d01dc04ef23634f439ab9fe739e022cce5595cb340e01d106ed474605ce4ef50b11b47e444507d341b16650dcb3610e88944020ca6c1c38e88072d43ba + languageName: node + linkType: hard + "webpack-cli@npm:^5.1.4": version: 5.1.4 resolution: "webpack-cli@npm:5.1.4"