sqmk / huejay

Philips Hue client for Node.js
MIT License
424 stars 40 forks source link

Remove dynamic require - resolves #78 #77

Closed simlrh closed 3 years ago

simlrh commented 7 years ago

Allows use in React Native by replacing dynamic requires with static ones.

simlrh commented 7 years ago

Actually resolves #78, I opened an issue in the wrong repo

simlrh commented 7 years ago

There were a lot more dynamic requires than I realised, and I had to replace a lot of clean code with a lot of ugly code, so I completely understand if you don't want this PR

mkafrin commented 6 years ago

I'm having this same issue with HueJay, and this pull request solves it. It'd be great if it was excepted