adopted-ember-addons / adopted-ember-addons/ember-cli-ifa

Having options to remove certain files from the asset map

未關閉
#263 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
56
分支
46
PR 合併指標
30 天內沒有已合併 PR

描述

Hi,

I found the add-on super helpful for the project that I'm working on. One improvement that I think would be very nice to have is to provide users with an option to ignore certain files in the asset map so that they only have to keep track of the mappings for assets that they really need.

I'm imagining having some of these options available:
- `excludeExtensions`: an array of file extensions that will be ignored. In my project we don't care about mappings of `.js`, `.css`, or `.map` files.
- `filter`: a function that will be called on each mapping in the asset map. If it returns `true` for a key-value pair, the pair will be kept. Otherwise the pair will be removed from the map.

Once again, thanks for the awesome add-on!

貢獻指南

開啟貢獻指南

研究方向

No files, tests, or entry points are named. Start by locating the add-on’s asset-map generation and configuration entry points, then determine how extension exclusions and a mapping filter should be exposed. Done means the asset map omits excluded extensions and pairs rejected by the filter, with the behavior documented and tested.

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

評估

技術堆疊
javascript
領域
tooling
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

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

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