From 1d8c3bfa20e1d842c242f35426960765f2b3bc8b Mon Sep 17 00:00:00 2001 From: "Howard.Zuo" Date: Tue, 21 Jul 2020 16:48:51 +0800 Subject: [PATCH] fix: remove unused theme config --- generators/app/templates/config/config.ts | 3 --- generators/app/templates/config/theme.ts | 3 --- package.json | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 generators/app/templates/config/theme.ts diff --git a/generators/app/templates/config/config.ts b/generators/app/templates/config/config.ts index d57a8c6..19ca26e 100644 --- a/generators/app/templates/config/config.ts +++ b/generators/app/templates/config/config.ts @@ -1,14 +1,11 @@ import { defineConfig } from 'umi' -import theme from './theme' - export default defineConfig({ hash: true, mock: { exclude: ['mock/**/_*.[jt]s'] }, antd: {}, - theme, locale: { antd: true, title: true diff --git a/generators/app/templates/config/theme.ts b/generators/app/templates/config/theme.ts deleted file mode 100644 index d71ddcb..0000000 --- a/generators/app/templates/config/theme.ts +++ /dev/null @@ -1,3 +0,0 @@ -export default { - '@primary-color': '#1991eb' -} diff --git a/package.json b/package.json index 282875b..27e1c70 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "generator-umi", - "version": "4.4.0", + "version": "4.4.1", "description": "umi project generator", "scripts": { "docs:dev": "vuepress dev docs",