Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Move electron-devtools-installer to prod deps #6

Merged
merged 1 commit into from Jan 14, 2017

Conversation

MarshallOfSound
Copy link
Member

@MarshallOfSound MarshallOfSound commented Jan 14, 2017

This is a quick bugfix for something I'm doing next week. Merging this in immediately after a green build so I can get unblocked.

Reasoning for not waiting for review:

  • Urgent bugfix, packaging apps made from these templates is currently impossible
  • Unblocks me 馃槅
  • Minimal scope of change, dependency is still present just will now be included in the generated package. In an ideal world electron-devtools-installer would have a easy technique to not throw errors in prod but also be a noop I.e. not ship itself. I'm coming up with a solution for this at the moment by exposing an afterCopy hook in electron-devtools-installer to create a "fake" module at package time that fakes the installer API so your code will become noop

@MarshallOfSound MarshallOfSound merged commit d2e843f into master Jan 14, 2017
@malept malept deleted the fix-devtools-when-packaged branch July 10, 2017 02:31
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

1 participant