ember-cli-deploy / ember-cli-deploy/ember-cli-deploy-gzip

ignorePattern doesn't seem to be working

未关闭
#23 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
11
派生
15
PR 合并指标
30 天内没有已合并 PR

描述

Howdy 👋

Just trying to stop this gzipping my sourcemaps and I've been trying to add an ignorePattern that doesn't seem to be working 😕

I've tried `ignorePattern: '**.map'` and `ignorePattern: '*.map'` but they both still gzipped my sourcemaps. I even tried `ignorePattern: '\*\*/\*.map',` which I lifted from the default filePattern 😂

I ended up working around this by just using filePattern with `map` removed as an option, but I figured I should open an issue to see if there is anything I can do to help. I would love to add a failing test if someone could at least point me in the right direction.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先追踪 plugin 如何读取和应用 ignorePattern,并将其与正常工作的 filePattern 选项进行比较。使用报告中的模式重现 sourcemap 情况;如果 repository 已有现成的测试入口,则添加一个失败测试;当匹配的 .map 文件保持未压缩,而其他符合条件的文件仍会进行 gzip 压缩时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。