Skip to content

Commit e1219ad

Browse files
committed
mv .umirc.js to config.js
1 parent 42725cb commit e1219ad

File tree

2 files changed

+27
-25
lines changed

2 files changed

+27
-25
lines changed

umi/.umirc.js

-25
This file was deleted.

umi/config/config.js

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// ref: https://umijs.org/config/
2+
export default {
3+
treeShaking: true,
4+
plugins: [
5+
// ref: https://umijs.org/plugin/umi-plugin-react.html
6+
[
7+
'umi-plugin-react',
8+
{
9+
antd: false,
10+
dva: true,
11+
dynamicImport: false,
12+
title: 'umi',
13+
dll: false,
14+
15+
routes: {
16+
exclude: [
17+
/models\//,
18+
/services\//,
19+
/model\.(t|j)sx?$/,
20+
/service\.(t|j)sx?$/,
21+
/components\//,
22+
],
23+
},
24+
},
25+
],
26+
],
27+
};

0 commit comments

Comments
 (0)