Skip to content

feat: Whitelist-based asset filtering and -aw flag - #6

Open
felix9743 wants to merge 2 commits into
hellotimking:mainfrom
felix9743:feat/assets-whitelist
Open

feat: Whitelist-based asset filtering and -aw flag#6
felix9743 wants to merge 2 commits into
hellotimking:mainfrom
felix9743:feat/assets-whitelist

Conversation

@felix9743

Copy link
Copy Markdown
  • Branch: feat/assets-whitelist
  • Goal: Make assets hiding more robust by using a strict whitelist of page extensions rather than a fragile hardcoded blacklist, and allow users to dynamically allow specific extensions from the CLI.
  • Changes:
    • Replaced the hardcoded assets blacklist with a clean pages/APIs whitelist (pagesWhitelist).
    • Added -aw / --assets-whitelist CLI flag to dynamically append custom extensions (e.g. .jsonc, .pdf) to the whitelist.

@felix9743 felix9743 changed the title Whitelist-Based Assets Filtering & -aw Flag feat: Whitelist-based asset filtering and -aw flag Jul 9, 2026
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