You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Re-export an external module. Then re-export an internal module. Generate a UMD bundle. The internal module symbols are exported as if they came from the external module.
The text was updated successfully, but these errors were encountered:
christopherthielen
changed the title
UMD export incorrect: re-export an external module, then re-export an internal module
UMD re-export incorrect after re-exporting an external module
Mar 4, 2017
This is an interesting bug and unfortunately there's nothing that can really be done here as we don't know if UI-Router-Core does export a FOO or not, so we have to assume it does.
Changing the export order sounds like the right fix here to me.
Re-export an external module. Then re-export an internal module. Generate a UMD bundle. The internal module symbols are exported as if they came from the external module.
Minimal reproduction: https://github.com/christopherthielen/rollup-bug
localmodule.js
index.js
UMD bundle
Interestingly, swapping the order of re-exports seems to work (re-export external modules last)
index.js
The text was updated successfully, but these errors were encountered: