akiran / akiran/react-highlight

Reduce bundle size

オープン
#56 コメント 6 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
761
フォーク
82
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。