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

[Task]: Reduce bundle size via react-syntax-highlighter #47

Open
2 tasks
elliotBraem opened this issue Aug 14, 2024 · 0 comments
Open
2 tasks

[Task]: Reduce bundle size via react-syntax-highlighter #47

elliotBraem opened this issue Aug 14, 2024 · 0 comments
Labels
enabler enables more work

Comments

@elliotBraem
Copy link
Contributor

elliotBraem commented Aug 14, 2024

Overview

highlight.js/lib and refactor both come from react-syntax-highlighter (used in near-social-vm), and amount to 400+ KB.

This was attempted to be solved with NearBuilders/VM#feat/syntax-highlighter, but will require more attention.

Details

react-syntax-highlighter is used for representing Markdown code blocks, and so it only needs to use the most popular languages.

Acceptance Criteria

  • All tests pass
  • Reduced package size, show benchmarks and improvements in PR
@elliotBraem elliotBraem added the enabler enables more work label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enabler enables more work
Projects
None yet
Development

No branches or pull requests

1 participant