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

use light version of syntax highlighter #260

Merged

Conversation

conorhastings
Copy link
Contributor

@conorhastings conorhastings commented Jul 23, 2017

The following has been addressed in the PR:

Uses light version of react syntax highlighter to remove 820kb from bundle size for client
before:
screen shot 2017-07-22 at 10 26 24 pm
after:
screen shot 2017-07-22 at 10 25 07 pm

@juanpicado
Copy link
Member

I tried something similar but that broke my UI, it works for you?

@juanpicado
Copy link
Member

Never mind, you are the author of react-syntax-highlighter 😊 , thanks !

@conorhastings
Copy link
Contributor Author

@juanpicado yeah the problem was you were attempting to import /highlight instead of /light and weren't using registerLanguage. no problem!

@juanpicado
Copy link
Member

Thanks again @conorhastings could you rebase?

@conorhastings conorhastings force-pushed the use-react-synax-highlighter-light branch from bfe4aba to d1b30a5 Compare July 23, 2017 09:39
@conorhastings
Copy link
Contributor Author

@juanpicado done

@juanpicado juanpicado merged commit aeb9580 into verdaccio:master Jul 23, 2017
@conorhastings conorhastings deleted the use-react-synax-highlighter-light branch July 23, 2017 09:48
@lock
Copy link

lock bot commented May 31, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants