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:
parent
e84ff197ec
commit
a7926a72b5
2 changed files with 3 additions and 3 deletions
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue