Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Asset copy with wildcard in the input path

未關閉
#16,283 3 則留言 7 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
angular, typescript
領域
build-system, cli

研究方向

首先追蹤 build、serve、test 和 e2e 命令中的資產處理,因為 issue 回報了它們之間存在不同的行為。定義萬用字元輸入路徑應如何決定複製根目錄,並驗證所要求的資產是否在不產生不需要的中間資料夾的情況下完成複製。完成標準是,萬用字元路徑對列出的命令都能一致運作,包括 serve 輸出。

由索引模型根據 Issue 內容生成。

描述

area: @angular-devkit/build-angular feature feature: insufficient votes

🚀 Feature request

Command (mark with an x)
- [ ] new
- [ x] build
- [ x] serve
- [x ] test
- [ x] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Description

Currently assets array allows glob with input path, however input path itself does not support wildcards.
Like ./node_modules/@myscope/**/assets/i18n/*
Where ** is any number of unknown libraries (like shared, services, featureabc).

With glob it would also create every folder between @myscope to assets/i18n, instead of copying just the contents of i18n.

Describe the solution you'd like

The input path allows wildcards to set the root or a flag to only copy contents of the glob result path.

Describe alternatives you've considered

Node scripts that requires extra steps and wouldn't know if project output is different from dist and it does not work with serve.

主要語言
TypeScript
星號
27k
分支
11.8k
平均合併
17 小時 25 分鐘
30 天內合併 PR
183

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

angular/angular-cli 的其他 Issue

查看 angular/angular-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。