You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using timesync brings in Promise.js and emitter.js, which are files which a browser will not need. It would be great to be able to use timesync without bringing in these unnecessary files.
The text was updated successfully, but these errors were encountered:
I'm trying to use this package with a CRA + socket.io webapp, and without installing promise it fails to compile since window and window.Promise don't exist at compile time. However, they will exist at runtime in the browser so installing and requiring promise is a bit unnecessary in that case. As far as I can tell, there's no way around installing promise in an un-ejected CRA app since I can't define a bogus webpack plugin to fool the compiler.
Is there a way we could update this to have a client side package that doesn't require promise?
Using timesync brings in Promise.js and emitter.js, which are files which a browser will not need. It would be great to be able to use timesync without bringing in these unnecessary files.
The text was updated successfully, but these errors were encountered: