-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add browser support #61
Conversation
Signed-off-by: Richie Bendall <[email protected]>
|
@sindresorhus Should I be concerned that browserify doesn't detect the browser version this way? |
We can have both the |
@sindresorhus Done! |
Signed-off-by: Richie Bendall <[email protected]>
Signed-off-by: Richie Bendall <[email protected]>
Signed-off-by: Richie Bendall <[email protected]>
Signed-off-by: Richie Bendall <[email protected]>
Since the browser version is just for modern browsers, we can just use ES2015 export syntax there. |
Signed-off-by: Richie Bendall <[email protected]>
Fixed! |
Signed-off-by: Richie Bendall <[email protected]>
@sindresorhus Please re-review. |
Fixes #60
cc @sindresorhus