Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Parenthesis wrapped exports break #121

Closed
trbrc opened this issue Sep 24, 2016 · 1 comment
Closed

Parenthesis wrapped exports break #121

trbrc opened this issue Sep 24, 2016 · 1 comment

Comments

@trbrc
Copy link

trbrc commented Sep 24, 2016

For exports wrapped in parenthesis it seems the open paren is removed but the close paren is kept, causing Rollup to fail and throw cryptic errors. Version 5.0.4, Rollup 0.36.0.

Input:

module.exports = (1);

Output:

var example = 1);

export default example;
export { example as __moduleExports };
@trbrc
Copy link
Author

trbrc commented Sep 24, 2016

I just noticed #120, so I'm closing this.

@trbrc trbrc closed this as completed Sep 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant