mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-11 04:56:11 +02:00
refactor: reduce shipped artifact size (#589)
This moves all webpacked deps to be automatically included from the asar and thus reduces the shipped binary by 14MB on Windows, 16 MB on Mac and 12MB on Linux. The installed size on mac is reduced by 105 MB. Previously all the dependencies were webpacked and minified in the asar in the build folder and in its full installed version unused under node_modules. Only keep the dependencies that are externally required in the node-modules folder. Signed-off-by: Christoph Settgast <csett86@web.de>
This commit is contained in:
parent
e5d5bcc1db
commit
9b1e3904ac
722
package-lock.json
generated
722
package-lock.json
generated
File diff suppressed because it is too large
Load diff
64
package.json
64
package.json
|
@ -22,7 +22,7 @@
|
||||||
"generateUpdatesFilesForAllChannels": true,
|
"generateUpdatesFilesForAllChannels": true,
|
||||||
"afterPack": "./linux-sandbox-fix.js",
|
"afterPack": "./linux-sandbox-fix.js",
|
||||||
"files": [
|
"files": [
|
||||||
"**/*",
|
"build",
|
||||||
"resources",
|
"resources",
|
||||||
"!app",
|
"!app",
|
||||||
"!main.js"
|
"!main.js"
|
||||||
|
@ -115,6 +115,11 @@
|
||||||
"readmeFilename": "README.md",
|
"readmeFilename": "README.md",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"electron-debug": "^3.2.0",
|
||||||
|
"electron-reload": "^1.5.0",
|
||||||
|
"jitsi-meet-electron-utils": "github:jitsi/jitsi-meet-electron-utils#v2.0.16"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
"@atlaskit/button": "^10.1.3",
|
"@atlaskit/button": "^10.1.3",
|
||||||
"@atlaskit/css-reset": "^3.0.8",
|
"@atlaskit/css-reset": "^3.0.8",
|
||||||
"@atlaskit/droplist": "^7.0.19",
|
"@atlaskit/droplist": "^7.0.19",
|
||||||
|
@ -127,20 +132,42 @@
|
||||||
"@atlaskit/spinner": "^9.0.13",
|
"@atlaskit/spinner": "^9.0.13",
|
||||||
"@atlaskit/theme": "^7.0.5",
|
"@atlaskit/theme": "^7.0.5",
|
||||||
"@atlaskit/toggle": "^5.0.15",
|
"@atlaskit/toggle": "^5.0.15",
|
||||||
|
"@babel/core": "7.9.0",
|
||||||
|
"@babel/plugin-proposal-class-properties": "7.8.3",
|
||||||
|
"@babel/plugin-proposal-export-namespace-from": "7.8.3",
|
||||||
|
"@babel/plugin-transform-flow-strip-types": "7.9.0",
|
||||||
|
"@babel/preset-env": "7.9.0",
|
||||||
|
"@babel/preset-flow": "7.9.0",
|
||||||
|
"@babel/preset-react": "7.9.4",
|
||||||
"@jitsi/js-utils": "^1.0.6",
|
"@jitsi/js-utils": "^1.0.6",
|
||||||
|
"@svgr/webpack": "5.4.0",
|
||||||
|
"babel-eslint": "10.0.3",
|
||||||
|
"babel-loader": "8.1.0",
|
||||||
|
"concurrently": "5.1.0",
|
||||||
|
"css-loader": "3.5.0",
|
||||||
|
"electron": "12.0.12",
|
||||||
|
"electron-builder": "22.10.5",
|
||||||
"electron-context-menu": "^2.5.0",
|
"electron-context-menu": "^2.5.0",
|
||||||
"electron-debug": "^3.2.0",
|
|
||||||
"electron-is-dev": "^1.2.0",
|
"electron-is-dev": "^1.2.0",
|
||||||
"electron-log": "^4.3.2",
|
"electron-log": "^4.3.2",
|
||||||
"electron-reload": "^1.5.0",
|
"electron-react-devtools": "0.5.3",
|
||||||
"electron-store": "^5.2.0",
|
"electron-store": "^5.2.0",
|
||||||
"electron-updater": "^4.3.8",
|
"electron-updater": "^4.3.8",
|
||||||
"electron-window-state": "^5.0.3",
|
"electron-window-state": "^5.0.3",
|
||||||
|
"eslint": "6.5.1",
|
||||||
|
"eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#1.0.2",
|
||||||
|
"eslint-plugin-flowtype": "4.7.0",
|
||||||
|
"eslint-plugin-import": "2.20.2",
|
||||||
|
"eslint-plugin-jsdoc": "22.1.0",
|
||||||
|
"eslint-plugin-react": "7.19.0",
|
||||||
|
"file-loader": "6.0.0",
|
||||||
|
"flow-bin": "0.109.0",
|
||||||
"history": "^4.10.1",
|
"history": "^4.10.1",
|
||||||
|
"html-webpack-plugin": "4.0.4",
|
||||||
"i18next": "^19.9.2",
|
"i18next": "^19.9.2",
|
||||||
"jitsi-meet-electron-utils": "github:jitsi/jitsi-meet-electron-utils#v2.0.16",
|
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"mousetrap": "^1.6.5",
|
"mousetrap": "^1.6.5",
|
||||||
|
"patch-package": "6.2.2",
|
||||||
"react": "^16.14.0",
|
"react": "^16.14.0",
|
||||||
"react-dom": "^16.14.0",
|
"react-dom": "^16.14.0",
|
||||||
"react-i18next": "^11.8.12",
|
"react-i18next": "^11.8.12",
|
||||||
|
@ -151,35 +178,8 @@
|
||||||
"redux-persist": "^5.10.0",
|
"redux-persist": "^5.10.0",
|
||||||
"redux-persist-electron-storage": "^2.1.0",
|
"redux-persist-electron-storage": "^2.1.0",
|
||||||
"source-map-support": "^0.5.19",
|
"source-map-support": "^0.5.19",
|
||||||
"styled-components": "^3.4.10"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@babel/core": "7.9.0",
|
|
||||||
"@babel/plugin-proposal-class-properties": "7.8.3",
|
|
||||||
"@babel/plugin-proposal-export-namespace-from": "7.8.3",
|
|
||||||
"@babel/plugin-transform-flow-strip-types": "7.9.0",
|
|
||||||
"@babel/preset-env": "7.9.0",
|
|
||||||
"@babel/preset-flow": "7.9.0",
|
|
||||||
"@babel/preset-react": "7.9.4",
|
|
||||||
"@svgr/webpack": "5.4.0",
|
|
||||||
"babel-eslint": "10.0.3",
|
|
||||||
"babel-loader": "8.1.0",
|
|
||||||
"concurrently": "5.1.0",
|
|
||||||
"css-loader": "3.5.0",
|
|
||||||
"electron": "12.0.12",
|
|
||||||
"electron-builder": "22.10.5",
|
|
||||||
"electron-react-devtools": "0.5.3",
|
|
||||||
"eslint": "6.5.1",
|
|
||||||
"eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#1.0.2",
|
|
||||||
"eslint-plugin-flowtype": "4.7.0",
|
|
||||||
"eslint-plugin-import": "2.20.2",
|
|
||||||
"eslint-plugin-jsdoc": "22.1.0",
|
|
||||||
"eslint-plugin-react": "7.19.0",
|
|
||||||
"file-loader": "6.0.0",
|
|
||||||
"flow-bin": "0.109.0",
|
|
||||||
"html-webpack-plugin": "4.0.4",
|
|
||||||
"patch-package": "6.2.2",
|
|
||||||
"style-loader": "1.1.3",
|
"style-loader": "1.1.3",
|
||||||
|
"styled-components": "^3.4.10",
|
||||||
"webpack": "4.42.1",
|
"webpack": "4.42.1",
|
||||||
"webpack-cli": "3.3.11"
|
"webpack-cli": "3.3.11"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue