umijs / father

NPM package development tool
MIT License
2.14k stars 274 forks source link

fix: correct umd cache directory #726

Closed PeachScript closed 1 year ago

PeachScript commented 1 year ago

修正 umd 构建持久缓存的位置,从 node_modules/.cache/bundler-webpack 修正为 node_modules/.cache/father/bundler-webpack,之前的配置方式不对所以自定义缓存位置没有生效

为什么要改目录?方便统一管理以及避免与 umi 项目一起使用时出现冲突

cc @hualigushi

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b13bc23) 94.42% compared to head (308e9a9) 94.42%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #726 +/- ## ======================================= Coverage 94.42% 94.42% ======================================= Files 55 55 Lines 1561 1561 Branches 351 373 +22 ======================================= Hits 1474 1474 + Misses 87 82 -5 - Partials 0 5 +5 ``` | [Files](https://app.codecov.io/gh/umijs/father/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=umijs) | Coverage Δ | | |---|---|---| | [src/builder/bundle/index.ts](https://app.codecov.io/gh/umijs/father/pull/726?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=umijs#diff-c3JjL2J1aWxkZXIvYnVuZGxlL2luZGV4LnRz) | `100.00% <ø> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/umijs/father/pull/726/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=umijs)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.