* Allow webpack to bundle *most* dependencies
* Exclude *most* node_modules from getting packaged by electron-builder
* Import only the required icons instead of bundling the whole icon pack
* Reduce packaging blacklist to only include the few things that still need blacklisting
This commit addresses a certain issue with `rpmbuild` in which certain
packages will conflict with each other because they have identical
`.build-id` links in the package.
I can speculate from some comments I've seen that this might be do
to electron versions the packages rely on, but I can't know for sure.
Most relevant issues I've seen:
https://github.com/jordansissel/fpm/issues/1503https://github.com/jgraph/drawio-desktop/issues/259
Closes: #1229
Relevant issue:
* https://github.com/electron/electron/issues/27527
The libappindicator package will not be available in the upcoming
Debian "bullseye" release and no appropriate alternative has been
implemented by default in electron / electron-builder.
This is a temporary measure until this issue is dealt with upstream.