father icon indicating copy to clipboard operation
father copied to clipboard

feat: support alias config

Open billfeller opened this issue 3 years ago • 8 comments

基于 @rollup/plugin-alias 支持路径别名配置项

close #356

billfeller avatar May 21 '21 16:05 billfeller

Codecov Report

Merging #358 (ef0ceba) into master (1140590) will increase coverage by 0.05%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #358      +/-   ##
==========================================
+ Coverage   74.01%   74.06%   +0.05%     
==========================================
  Files          16       16              
  Lines         481      482       +1     
  Branches      171      172       +1     
==========================================
+ Hits          356      357       +1     
  Misses        124      124              
  Partials        1        1              
Impacted Files Coverage Δ
packages/father-build/src/schema.ts 100.00% <ø> (ø)
packages/father-build/src/getRollupConfig.ts 97.75% <100.00%> (+0.02%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1140590...ef0ceba. Read the comment docs.

codecov[bot] avatar May 21 '21 17:05 codecov[bot]

@sorrycc 帮确认下这个问题,使用 dumi 开发组件库,构建产物存在重复导出问题,需要支持路径别名配置项,看下是否支持合入

billfeller avatar May 21 '21 17:05 billfeller

ci 没过啊,大佬 @wadezhan 看下什么问题,很需要这个 feature 谢谢

xyx650 avatar Jun 10 '21 02:06 xyx650

ci 没过啊,大佬 @wadezhan 看下什么问题,很需要这个 feature 谢谢

之前测试同样的代码变更,有构建成功的记录,怀疑是 circleci 的问题,不是代码问题。

billfeller avatar Jun 10 '21 02:06 billfeller

@xyx650 代码重新提交了,ci 已通过。

billfeller avatar Jun 10 '21 23:06 billfeller

@wadezhan @一下管理的大佬合并一下呗😂

xyx650 avatar Jun 15 '21 06:06 xyx650

@PeachScript 冒昧艾特大佬,请问这个可以发布吗?I need this feature pretty badly.

zoffyzhang avatar Jun 16 '21 07:06 zoffyzhang

冲突了,没合进去,麻烦解决下

jgchenu avatar Oct 10 '21 12:10 jgchenu

感谢贡献,father 4 已发布、支持 alias,旧版本不再迭代,PR closed

PeachScript avatar Aug 31 '22 11:08 PeachScript