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

[env-browser] Support UMD-like exports #42

Closed
Igmat opened this issue Feb 14, 2018 · 0 comments
Closed

[env-browser] Support UMD-like exports #42

Igmat opened this issue Feb 14, 2018 · 0 comments
Milestone

Comments

@Igmat
Copy link
Owner

Igmat commented Feb 14, 2018

For example this package uses non-standard UMD-like exports, which causes error while importing it, because VM context is mixed (browser + node).

Possible solution is creating proxy that looks for property in global.window if it doesn't exist in global.

@Igmat Igmat changed the title env-browser Support UMD-like exports [env-browser] Support UMD-like exports Feb 14, 2018
@Igmat Igmat closed this as completed in a79c38d Feb 27, 2018
@Igmat Igmat added this to the v1.0.0 milestone Mar 23, 2018
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

No branches or pull requests

1 participant