https://github.com/aslafy-z/gulp-rev-fakemanifest
Fake rev manifest
https://github.com/aslafy-z/gulp-rev-fakemanifest
Last synced: 4 months ago
JSON representation
Fake rev manifest
- Host: GitHub
- URL: https://github.com/aslafy-z/gulp-rev-fakemanifest
- Owner: aslafy-z
- License: mit
- Archived: true
- Created: 2018-11-16T16:00:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-05T22:36:48.000Z (about 1 year ago)
- Last Synced: 2025-02-12T14:55:01.595Z (4 months ago)
- Language: JavaScript
- Homepage: https://github.com/aslafy-z/gulp-rev-fakemanifest
- Size: 360 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-rev-fakemanifest [](https://travis-ci.org/aslafy-z/gulp-rev-fakemanifest) [](https://coveralls.io/github/aslafy-z/gulp-rev-fakemanifest?branch=master) [](https://david-dm.org/aslafy-z/gulp-rev-fakemanifest)
Generate a fake manifest where v=k. Provide a workaround for https://github.com/sindresorhus/gulp-rev/issues/40
## Installation
```
npm install gulp-rev-fakemanifest --save
```## Usage
```javascript
const revFakeManifest = require('gulp-rev-fakemanifest');(...).pipe(revFakeManifest(pth, opts).pipe(...)
```Options are the same as `gulp-rev-manifest`: https://github.com/lukeed/gulp-rev-manifest#revmanifestpath-options
### Example
```javascript
return gulp.src('dist', { base: 'assets' })
.pipe(isProd ? rev() : noop())
.pipe(
isProd
? rev.manifest({ base: 'assets' })
: revFakeManifest({ base: 'assets' })
)
.pipe(gulp.dest('assets'));
```### TODO
- [ ] More tests