Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Move electron to Dev Dependencies #12

Merged
merged 2 commits into from
Oct 10, 2017
Merged

Move electron to Dev Dependencies #12

merged 2 commits into from
Oct 10, 2017

Conversation

IT-MikeS
Copy link
Contributor

@IT-MikeS IT-MikeS commented Sep 21, 2017

While using Electron-Packager I noticed my packaged app folder increasing dramatically after adding this module, so I started digging. Found that the electron package was getting bundled into the app even though I had electron listed in Dev Dependencies, digging further found it resided in this modules Dependencies, this was causing electron-packager to bundle it into the app, increasing the size by at least 132 MB. Simple fix though, just moved from Dependencies to Dev Dependencies and tested building and using the new version as a direct drop in replace on a couple apps I use this module in, and it works perfectly. Sizes are back to normal, so please consider my Pull-Request to help fellow users.

Side note: This is a fantastic module, thank you for your work!

@ThorstenHans ThorstenHans merged commit 02bf696 into ThorstenHans:master Oct 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants