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

Do not replace exports that aren't in the top level #14

Open
tbranyen opened this issue Oct 15, 2019 · 0 comments
Open

Do not replace exports that aren't in the top level #14

tbranyen opened this issue Oct 15, 2019 · 0 comments

Comments

@tbranyen
Copy link
Owner

Some modules wrap their CJS with an IIFE and this module currently rewrites exports within them, which is invalid.

(() => {
  export let UAParser = exports.UAParser;
}).call(module.exports);
export default module.exports;
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