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 摘要。