Skip to content

Commit

Permalink
fix: remove unused theme config
Browse files Browse the repository at this point in the history
  • Loading branch information
leftstick committed Jul 21, 2020
1 parent df9c10a commit 1d8c3bf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions generators/app/templates/config/config.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 0 additions & 3 deletions generators/app/templates/config/theme.ts

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 1d8c3bf

Please sign in to comment.