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

ignorePattern doesn't seem to be working

Open
#23 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the plugin reads and applies ignorePattern, comparing it with the working filePattern option. Reproduce the sourcemap case using the reported patterns and add a failing test if the repository has an existing test entry point; done means matching .map files are left uncompressed while other eligible files are still gzipped.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.