Skip to content

Commit

Permalink
Auto commit: 2024-09-21 00:22:41
Browse files Browse the repository at this point in the history
  • Loading branch information
samlau7245 committed Sep 20, 2024
1 parent 38407a4 commit 7f9f4f3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions blog/2024-09-14-umi-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,4 +350,38 @@ set config:mako on /Users/liushan/Documents/sparkly/sc-merchant/config/config.ts



```



```sh
.
├─┬ @typescript-eslint/eslint-plugin 6.21.0
│ └── ✕ unmet peer @typescript-eslint/parser@"^6.0.0 || ^6.0.0-alpha": found 5.62.0
├─┬ dva 2.5.0-beta.2
│ ├── ✕ unmet peer react@"15.x || ^16.0.0-0": found 18.3.1
│ ├── ✕ unmet peer react-dom@"15.x || ^16.0.0-0": found 18.3.1
│ └─┬ react-redux 5.1.2
│ └── ✕ unmet peer react@"^0.14.0 || ^15.0.0-0 || ^16.0.0-0": found 18.3.1
└─┬ @umijs/max 4.3.20
└─┬ @umijs/plugins 4.3.20
├─┬ @ahooksjs/use-request 2.8.15
│ └── ✕ unmet peer react@"^16.8.0 || ^17.0.0": found 18.3.1
├─┬ react-intl 3.12.1
│ └── ✕ unmet peer react@^16.3.0: found 18.3.1
└─┬ dva-loading 3.0.25
└── ✕ unmet peer dva-core@"^1.1.0 || ^1.5.0-0 || ^1.6.0-0": found 2.0.4

# highlight-next-line
pnpm config set auto-install-peers true
```


```sh
# highlight-next-line
% npx umi -v

[email protected]

COMPRESS=none umi build 可以关闭项目构建时的代码压缩功能, 方便调试项目的构建产物。
```

0 comments on commit 7f9f4f3

Please sign in to comment.