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

fix: generate crawlers regex at build time #230

Merged
merged 6 commits into from
Sep 17, 2024

Conversation

DamianGlowala
Copy link
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
3 checks passed
@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