umijs / father

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

如果将某一个文件 直接copy到dist下 #653

Closed jlv-xjtu closed 1 year ago

jlv-xjtu commented 1 year ago

father4+umijs/max4 umijs中copy命令失效

PeachScript commented 1 year ago

father 没有这个功能,有需要可以自己写脚本拷贝

jlv-xjtu commented 1 year ago

可以提供个示例吗

---原始邮件--- 发件人: @.> 发送时间: 2023年5月28日(周日) 晚上11:06 收件人: @.>; 抄送: @.**@.>; 主题: Re: [umijs/father] 如果将某一个文件 直接copy到dist下 (Issue #653)

father 没有这个功能,有需要可以自己写脚本拷贝

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

PeachScript commented 1 year ago

package.json:

{
  "scripts": {
-   "build": "father build",
+   "build": "father build && cp -r xx dist/xx"
  }
}