mirror of https://github.com/astrit/css.gg.git
26 lines
484 B
TypeScript
26 lines
484 B
TypeScript
import { IConfig } from 'umi-types';
|
|
|
|
// ref: https://umijs.org/config/
|
|
const config: IConfig = {
|
|
treeShaking: true,
|
|
plugins: [
|
|
// ref: https://umijs.org/plugin/umi-plugin-react.html
|
|
[
|
|
'umi-plugin-react',
|
|
{
|
|
antd: false,
|
|
dva: false,
|
|
dynamicImport: { webpackChunkName: true },
|
|
title: 'example',
|
|
dll: false,
|
|
|
|
routes: {
|
|
exclude: [/components\//],
|
|
},
|
|
},
|
|
],
|
|
],
|
|
};
|
|
|
|
export default config;
|