Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steadicat/gulp-unseen
Only let through identical files once, and save state to a file.
https://github.com/steadicat/gulp-unseen
Last synced: 8 days ago
JSON representation
Only let through identical files once, and save state to a file.
- Host: GitHub
- URL: https://github.com/steadicat/gulp-unseen
- Owner: steadicat
- Created: 2014-07-28T22:12:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-18T21:21:10.000Z (about 10 years ago)
- Last Synced: 2023-04-21T17:13:21.866Z (over 1 year ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
gulp-unseen
===========Only let through identical files once, and save state to a file.
Example:
~~~javascript
source
.pipe($.unseen.skip('seen.json')) // Skip files that we previously recorded in seen.json
.pipe($.if('**/*.{js,css}', $.gzip()))
.pipe($.if('**/*.{jpg,png}', $.imagemin()))
.pipe($.s3(aws))
.pipe($.unseen.manifest('seen.json')) // Generate new seen.json manifest
.pipe(gulp.dest('.')) // Save manifest locally
.pipe($.s3(aws)); // Upload manifest to S3 for posterity
~~~