-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
browser = false resolves to @empty, fails import #325
Comments
@AutoSponge thanks for reporting. Can you clarify - are you loading in Node or the browser here? Is this Is the browser field |
@guybedford, I'm loading in the browser. The uncompiled version works fine but when building to a self-executing package, the reference to |
@AutoSponge perhaps the issue here is that SFX bundles don't support Try adding |
@AutoSponge see systemjs/builder#49 and the associated commit and let me know if that helps. |
@guybedford, manually adding the |
Thanks for confirming! I've added systemjs/builder@79efa57. |
Resolved in builder. |
Documented example: readable-stream
When package.json sets
browser: false
the dependency maps to@empty
module. This fails on load with an unknown module error. Can this instead fail silently? Or should we add@empty
to our map?The text was updated successfully, but these errors were encountered: