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

Remove comments when bundling #334

Merged
merged 1 commit into from
Aug 15, 2022
Merged

Remove comments when bundling #334

merged 1 commit into from
Aug 15, 2022

Conversation

Nick-Mazuk
Copy link
Member

This PR removes all comments from bundling as discussed in #332 (comment). This includes both multiline documentation comments and single-line comments.

Additionally, some extra whitespace is removed, along with successive empty lines.

It's possible this will break the bundled scripts (again), but at least this change has fairly good test coverage and it's possible to add any new errors as test cases to the bundler.

Going to merge this one without review since several of us are in agreement on the idea, and I'm really the only person who understands the bundler at this point so I'm unsure how useful code review will be.

cc @ThistleSifter @cv-on-hub @rpatters1

@Nick-Mazuk Nick-Mazuk merged commit 6ba3d45 into master Aug 15, 2022
@Nick-Mazuk Nick-Mazuk deleted the bundle-remove-comments branch August 15, 2022 04:18
This was referenced Aug 15, 2022
Nick-Mazuk added a commit that referenced this pull request Aug 15, 2022
@Nick-Mazuk Nick-Mazuk mentioned this pull request Aug 15, 2022
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

Successfully merging this pull request may close these issues.

1 participant