Use specific highlighters instead of including all of them. Halves the bundle size
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import remark from 'remark';
|
||||
import remarkHTML from 'remark-html';
|
||||
import remarkHighlight from 'remark-highlight.js';
|
||||
import remarkHighlight from '../highlight';
|
||||
import PureRenderMixin from 'react-pure-render/mixin';
|
||||
import { postHighlight } from '../../custom';
|
||||
|
||||
|
Reference in New Issue
Block a user