Skip to content

Commit

Permalink
Merge pull request #16 from joostdekeijzer/deleteMapExtensions-issue-10
Browse files Browse the repository at this point in the history
deleteMapExtensions option defaults to false
  • Loading branch information
callumacrae authored Jan 22, 2019
2 parents 3e6352a + cf4592b commit f95803a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ revDel({
oldManifest: 'rev-manifest.json',
newManifest: { /* a manifest */ },
suppress: true,
deleteMapExtensions: true
deleteMapExtensions: false
}, function (err, filesDeleted) {
// ...
});
Expand All @@ -31,6 +31,8 @@ more efficient to pass it in as an object.
doesn't exist. You don't normally want to change: usually, the first time you
run your revisioning script, the manifest doesn't exist yet.

`deleteMapExtensions`, when set to true, will try and find any ".map" files generated by [gulp-sourcemaps](//github.com/gulp-sourcemaps/gulp-sourcemaps) belonging to changed files in `oldManifest` and delete those too.

### With Gulp

rev-del works great with Gulp and gulp-rev. You need to specify either `dest`
Expand Down

0 comments on commit f95803a

Please sign in to comment.