Skip to content

fix: generate crawlers regex at build time#230

Merged
DamianGlowala merged 6 commits into
mainfrom
fix/build-time-crawlers-template
Sep 17, 2024
Merged

fix: generate crawlers regex at build time#230
DamianGlowala merged 6 commits into
mainfrom
fix/build-time-crawlers-template

Conversation

@DamianGlowala

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

resolves #229

📚 Description

Instead of importing entire crawler-user-agents.json at runtime, we are now using build templates to extract only the patterns this module needs for building a regex.

@DamianGlowala DamianGlowala self-assigned this Sep 17, 2024
@DamianGlowala DamianGlowala merged commit 8f7eed2 into main Sep 17, 2024
@DamianGlowala DamianGlowala deleted the fix/build-time-crawlers-template branch September 17, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Huge bundle size increase due to crawler-user-agents.json

2 participants