Skip to content

Commit

Permalink
chore: improve compile time in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
leftstick committed Sep 2, 2020
1 parent 3c651a2 commit 61329b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions generators/app/templates/package.json.vm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Scaffold for umi based project",
"scripts": {
"start": "umi dev",
"build": "umi build"
"build": "UMI_ENV=prod umi build"
},
"license": "MIT",
"husky": {
Expand All @@ -25,20 +25,20 @@
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@types/classnames": "^2.2.10",
"@types/jest": "^26.0.10",
"@types/jest": "^26.0.12",
"@types/js-cookie": "^2.2.6",
"@umijs/plugin-access": "^2.3.1",
"@umijs/plugin-antd": "^0.8.0",
"@umijs/plugin-initial-state": "^2.2.1",
"@umijs/plugin-locale": "^0.10.1",
"@umijs/plugin-model": "^2.5.3",
"@umijs/plugin-request": "^2.5.0",
"@umijs/test": "^3.2.17",
"@umijs/test": "^3.2.19",
"husky": "^4.2.5",
"lint-staged": "^10.2.13",
"react-coding-style": "^1.1.1",
"umi": "^3.2.17",
"umi-plugin-antd-theme": "^2.1.2"
"umi": "^3.2.19",
"umi-plugin-dynamic-antd-theme": "^3.0.1"
},
"dependencies": {
"ahooks": "^2.5.0",
Expand Down
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.2",
"version": "4.4.3",
"description": "umi project generator",
"scripts": {
"docs:dev": "vuepress dev docs",
Expand Down

0 comments on commit 61329b9

Please sign in to comment.