Skip to content

Commit f3ac8a5

Browse files
committed
chore: optimize the configuation of the document site
1 parent ca58978 commit f3ac8a5

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.umirc.ts

+1-10
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default defineConfig({
3030
],
3131
},
3232
exportStatic: {},
33+
styles: ['https://g.alicdn.com/code/lib/antd/3.23.6/antd.min.css'],
3334
scripts: [
3435
'https://g.alicdn.com/code/lib/react/16.8.6/umd/react.production.min.js',
3536
'https://g.alicdn.com/code/lib/react-dom/16.8.6/umd/react-dom.production.min.js',
@@ -41,14 +42,4 @@ export default defineConfig({
4142
'react-dom': 'ReactDOM',
4243
antd: 'antd',
4344
},
44-
extraBabelPlugins: [
45-
[
46-
'import',
47-
{
48-
libraryName: 'antd',
49-
libraryDirectory: 'es',
50-
style: 'css',
51-
},
52-
],
53-
],
5445
});

0 commit comments

Comments
 (0)