Skip to content

Commit

Permalink
refactor: reduce shipped artifact size (#589)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
csett86 committed Jun 27, 2021
1 parent e5d5bcc commit 9b1e390
Show file tree
Hide file tree
Showing 2 changed files with 545 additions and 233 deletions.

0 comments on commit 9b1e390

Please sign in to comment.