Skip to content
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

Remove dependency on exenv by inlining the relevant parts. #52

Merged
merged 3 commits into from
Aug 28, 2019
Merged

Remove dependency on exenv by inlining the relevant parts. #52

merged 3 commits into from
Aug 28, 2019

Conversation

realityking
Copy link
Contributor

The exenv module is rather large because it's a UMD module and rollup can't inline it. It seems like it's also unmaintained (JedWatson/exenv#9 would adress this problem). This PR just inlines the relevant part.

Makes the minified UMD build 10% (0.11 kB) smaller. CJS and ESM builds are a couple bytes bigger but that should be well offset after bundling.

Makes the minified UMD build 10% (0.11 kB) smaller.
@realityking
Copy link
Contributor Author

@lourd @gaearon Could one of you check this PR out? Thanks!

@realityking
Copy link
Contributor Author

@lourd @gaearon Could you check this PR out? It would be a nice little improvement.

@lourd lourd merged commit 7a6d45c into gaearon:master Aug 28, 2019
@realityking realityking deleted the no-exenv branch August 28, 2019 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants