0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-04-01 02:42:23 -05:00

fix: Better use of imports, save more than 1mb of bundle size.

This commit is contained in:
Juan Picado @jotadeveloper 2017-07-22 18:16:33 +02:00
parent e84ff197ec
commit a7926a72b5
No known key found for this signature in database
GPG key ID: 18AC54485952D158
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
import React from 'react';
import SyntaxHighlighter from 'react-syntax-highlighter';
import {sunburst} from 'react-syntax-highlighter/dist/styles';
import SyntaxHighlighter from 'react-syntax-highlighter/dist/highlight';
import sunburst from 'react-syntax-highlighter/src/styles/sunburst';
import classes from './help.scss';

View file

@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import {Loading, MessageBox} from 'element-react';
import {isEmpty} from 'lodash';
import isEmpty from 'lodash/isEmpty';
import API from '../../../utils/api';