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

feat: Add comment remove feature #4

Merged
merged 1 commit into from
Jul 21, 2024
Merged

Conversation

yamadashy
Copy link
Owner

@yamadashy yamadashy commented Jul 21, 2024

Fix: #2

Key changes:

  1. Added removeComments option to the configuration
  2. Implemented comment removal for various file types (e.g., Python, JavaScript, HTML, CSS)
  3. Updated README with information about the new feature
  4. Added tests for the new functionality

Usage:

Set output.removeComments to true in your repopack.config.json file to enable comment removal:

{
  "output": {
    "removeComments": true
  }
}

This feature helps reduce the size of the output file and focuses on the essential code content, which can be beneficial for AI processing.

@yamadashy yamadashy mentioned this pull request Jul 21, 2024
@yamadashy yamadashy merged commit 23c5271 into main Jul 21, 2024
10 checks passed
@yamadashy yamadashy deleted the feature/comment-remove-option branch July 23, 2024 06:21
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.

feat: Remove comments
1 participant