Commit 5ec7dcf6 authored by 陈帅's avatar 陈帅

add css and less configuration

parent 782b8035
......@@ -28,6 +28,9 @@ export default {
publicPath: '/',
disableDynamicImport: true,
hash: true,
lessLoaderOptions: {
javascriptEnabled: true,
},
cssLoaderOptions: {
modules: true,
getLocalIdent: (context, localIdentName, localName) => {
......
......@@ -4,7 +4,7 @@ import autoHeight from '../autoHeight';
import styles from '../index.less';
@autoHeight()
export default class MiniArea extends React.Component {
export default class MiniArea extends React.PureComponent {
render() {
const {
height,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment