ChessCom/browser-extension

Add "browser" environment variable to handle incompatibilities

Opened this issue · 3 comments

As talked about in #79 and #52.

Not browser. OS!

Oh. Sorry. Got mixed up what we were talking about. Yes, for this, browser. :)

Haha yeah. I guess we can only detect OS by javascript, not by distribution ;).

We can just add the environment variable in the webpack builds as we at build time know what the target browser is.