akiran / akiran/react-highlight

Reduce bundle size

Abierto
#56 6 comentarios 3 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
761
Forks
82
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I realize that highlight.js has a very large bundle but I suggest passing an array prop to define the languages they want to import. My highlight.js currently takes up 539kb parsed size and 188kb gzipped. This is over half of my bundle and six times more than react.

![react-highlight_bundle](https://user-images.githubusercontent.com/22775484/38840869-e70d1c20-419e-11e8-904a-b2bd212ed82b.png)

I should be able to work on this in the upcoming weeks.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.