Skip to content

Commit

Permalink
keep option implemented and tested
Browse files Browse the repository at this point in the history
  • Loading branch information
phbernard committed Dec 14, 2018
1 parent 45ecf90 commit dd6fd7e
Show file tree
Hide file tree
Showing 8 changed files with 676 additions and 330 deletions.
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
npm-debug.log
tmp
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ module.exports = function(grunt) {
html: ['tmp/scenario_2/page*.html'],
settings: {
scalingAlgorithm: 'NearestNeighbor'
}
},
keep: ['meta[property="og:image"]']
}
},
scenario_3: {
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ In lieu of a formal styleguide, take care to maintain the existing coding style.

## Release History

## 0.2.3
- support keep options, to keep og:image ( for example ) resolve https://github.com/RealFaviconGenerator/grunt-real-favicon/issues/24
```
options: {
keep: ['meta[property="og:image"]'],
...
}
```
### 0.2.2
- Fix for incompatible change in latest rfg-api, see https://github.com/RealFaviconGenerator/grunt-real-favicon/issues/41
Expand Down
Loading

0 comments on commit dd6fd7e

Please # to comment.