精简umi react依赖,缩减镜像至760M左右

This commit is contained in:
whyour
2021-03-22 13:30:17 +08:00
parent 3e8a5bd74c
commit ad513d1eae
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -3,7 +3,6 @@ import { defineConfig } from 'umi';
export default defineConfig({
hash: true,
layout: false,
locale: {},
nodeModulesTransform: {
type: 'none',
},