Browse Source

fix: lint

pull/20281/head
ycjcl868 5 years ago
parent
commit
7ff2c7c079
  1. 3
      site/theme/template/Content/MainContent.jsx
  2. 2
      webpack.config.js

3
site/theme/template/Content/MainContent.jsx

@ -3,14 +3,13 @@ import PropTypes from 'prop-types';
import { Link } from 'bisheng/router';
import { Row, Col, Menu, Affix, Tooltip, Avatar } from 'antd';
import { injectIntl } from 'react-intl';
import { LeftOutlined, RightOutlined, ExpandOutlined, ExportOutlined } from '@ant-design/icons';
import { LeftOutlined, RightOutlined, ExportOutlined } from '@ant-design/icons';
import ContributorsList from '@qixian.cs/github-contributors-list';
import classNames from 'classnames';
import get from 'lodash/get';
import MobileMenu from 'rc-drawer';
import { DarkIcon, DefaultIcon } from './ThemeIcon';
import Icon from '../Icon';
import Article from './Article';
import PrevAndNext from './PrevAndNext';
import Footer from '../Layout/Footer';

2
webpack.config.js

@ -3,8 +3,8 @@
const getWebpackConfig = require('@ant-design/tools/lib/getWebpackConfig');
const PacktrackerPlugin = require('@packtracker/webpack-plugin');
const IgnoreEmitPlugin = require('ignore-emit-webpack-plugin');
const darkVars = require('./scripts/dark-vars');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const darkVars = require('./scripts/dark-vars');
const { webpack } = getWebpackConfig;

Loading…
Cancel
Save