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

Consider removing indent from iife finalizer #5

Closed
Bobris opened this issue May 27, 2015 · 4 comments
Closed

Consider removing indent from iife finalizer #5

Bobris opened this issue May 27, 2015 · 4 comments

Comments

@Bobris
Copy link
Contributor

Bobris commented May 27, 2015

Please think about poor guys like me with notebooks where every space is valuable.

https://github.com/rollup/rollup/blob/master/src/finalisers/iife.js#L31

@Rich-Harris
Copy link
Contributor

Yes, now that you mention it it probably is a bit superfluous. How about if Rollup accepts an indent option which could be true (auto-indent), false (don't indent) or a string (e.g. empty string, two spaces, one tab etc)?

@Bobris
Copy link
Contributor Author

Bobris commented May 31, 2015

Yes, it would be nice. Of course very low priority.

@Rich-Harris
Copy link
Contributor

Have added this feature as described - it's in 0.7.1

@Bobris
Copy link
Contributor Author

Bobris commented Jun 2, 2015

👍 🎉

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

2 participants