GitShow/sindresorhus/gulp-rev
sindresorhus

gulp-rev

Static asset revisioning by appending content hash to filenames: `unicorn.css` → `unicorn-d41d8cd98f.css`

by sindresorhus
gulp-pluginhashjavascriptmanifestnodejsrev
Star on GitHubForknpm

JavaScript

1.5k stars210 forks39 contributorsQuiet · 8mo agoSince 2013v12.0.0MIT

Meet the team

See all 39 on GitHub →
sindresorhus
sindresorhus90 contributions
bobthecow
bobthecow13 contributions
borisceranic
borisceranic3 contributions
benbieler
benbieler2 contributions
uberspeck
uberspeck2 contributions
pioug
pioug2 contributions
WVmf
WVmf2 contributions
phazei
phazei1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

6 of 6 standards met

Community profile →
100
✓README✓License✓Contributing✓Code of Conduct✓Issue Template✓PR Template

Recent PRs & issues

Quiet · 16 discussions · Last activity 8mo ago
See all on GitHub →
ZhangChengLin
The corresponding image path string does not exist in the css file, what should I do?OpenIssue

Description https://www.npmjs.com/package/flag-icon-css Steps to reproduce style.css rev-manifest.json 无法实现图片url的替换。 nodejs版本: ^12.0.0

ZhangChengLin · 4y ago
23scurtu
Parallel Tasks Overwriting Manfiest FileOpenIssue

No, locking is not the right answer. Do what @BerkeleyTrue said and you should be good :) _Originally posted by @bobthecow in https://github.com/sindresorhus/gulp-rev/issues/115#issuecomment-138101135_ With regards to #115, why is locking the incorrect answer here? It seems unnecessarily error-prone to have parallel tasks possibly overwrite or garble the manifest file. Would it not make sense to have some form of locking for the manifest file, rather than to have undefined behaviour in a common use case and expect people to stumble upon #115 and implement some work around themselves?

23scurtu · 5y ago
quasiperfect
help manifest formatOpenIssue

hi can anyone please give me a hand in how i can keep the filenames unchanged and get the manifest.js to this format for now i have using

quasiperfect · 5y ago

Recent fixes

View closed PRs →
pioug
Update dependenciesMergedPR

What's new? ⚠️ Breaking change: Require Node.js 20+ (as per sort-keys@6) Update the deps to the latest version Update the GitHub action (I copied https://github.com/sindresorhus/sort-keys/blob/main/.github/workflows/main.yml) As usual, thank you so much for all the packages and the regular maintenance work 🥹

pioug · 8mo ago
pioug
Update dependencies and move to ESMMergedPR

Thanks for releasing a new version of 🙏 This time, I want to update ! What's new? Update all dependencies Migrate to ESM Migrate async tests using Fix linting errors with new The tests are passing in my repo. I also updated some examples in the readme but I am not too sure about the ones that mix ESM and CJS modules.

pioug · 3y ago
alexandre-abrioux
Add link to gulp-rev-dist-clean in the readmeMergedPR

Hi! First of all thank you for maintaining this package! I used it quite a lot in the past and loved it :) I created gulp-rev-dist-clean back in 2017 out of a need I had to clean-up old files that had been removed from the directory but that where still present in the directory even after running . Usually you would completely empty the directory before running , so that everything in the directory would correspond to actual files in the directory, but this could get heavy with huge builds in watch mode. To prevent re-building everything, especially images, each time a file changes, and to keep the directory "fresh", I needed a solution. I tried other packages at that time, including , but it did not support this specific use-case, so I decided to develop my own. Fast forward to today, I am still maintaining it and adding new features to it as it turns out it is also used by others. Therefore I wonder if we could add it to the list of "clean-up" tools offered by the community? Thanks!

alexandre-abrioux · 4y ago
Structured data for AI agents

Repository: sindresorhus/gulp-rev. Description: Static asset revisioning by appending content hash to filenames: `unicorn.css` → `unicorn-d41d8cd98f.css` Stars: 1535, Forks: 210. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Topics: gulp-plugin, hash, javascript, manifest, nodejs, rev. Latest release: v12.0.0 (8mo ago). Open PRs: 0, open issues: 16. Last activity: 8mo ago. Community health: 100%. Top contributors: sindresorhus, bobthecow, borisceranic, benbieler, uberspeck, pioug, WVmf, phazei, ajaybc, alexandre-abrioux and others.

·@ofershap

Replace github.com with gitshow.dev