{"id":18310315,"url":"https://github.com/torann/laravel-elixir-fingerprint","last_synced_at":"2025-04-05T17:33:29.019Z","repository":{"id":27337104,"uuid":"30811878","full_name":"Torann/laravel-elixir-fingerprint","owner":"Torann","description":"A Laravel Elixir Extension to update fingerprinted assets from a rev-manifest.json file","archived":false,"fork":false,"pushed_at":"2015-12-11T17:21:15.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T08:34:52.487Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Torann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-14T23:17:43.000Z","updated_at":"2018-07-23T19:39:40.000Z","dependencies_parsed_at":"2022-08-01T10:07:31.954Z","dependency_job_id":null,"html_url":"https://github.com/Torann/laravel-elixir-fingerprint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Flaravel-elixir-fingerprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Flaravel-elixir-fingerprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Flaravel-elixir-fingerprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torann%2Flaravel-elixir-fingerprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torann","download_url":"https://codeload.github.com/Torann/laravel-elixir-fingerprint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247375992,"owners_count":20929164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T16:14:04.550Z","updated_at":"2025-04-05T17:33:24.002Z","avatar_url":"https://github.com/Torann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Elixir Fingerprint [![Build Status](https://travis-ci.org/vincentmac/gulp-fingerprint.svg?branch=master)](https://travis-ci.org/vincentmac/gulp-fingerprint)\n\n### Install\n\n```sh\n$ npm install laravel-elixir-fingerprint --save-dev\n```\n\n\u003e For Laravel Elixir 2 use version 0.3.3\n\n### Example\n\n```javascript\nvar elixir = require('laravel-elixir');\n\nrequire('laravel-elixir-fingerprint');\n\nelixir(function (mix) {\n        mix.fingerprint([\n            'public/build/css/*.css'\n        ], {\n            output: 'public/build/css/'\n        });\n});\n```\n\nOur `rev-manifest.json` file:\n```json\n{\n  \"fonts/fontello.eot\": \"fonts/fontello-ee7f7979.eot\",\n  \"fonts/fontello.svg\": \"fonts/fontello-9cc6a21a.svg\",\n  \"fonts/fontello.ttf\": \"fonts/fontello-13276407.ttf\",\n  \"fonts/fontello.woff\": \"fonts/fontello-e25c919d.woff\"\n}\n```\n\nCSS Before Fingerprinting:\n```css\n@font-face {\n  font-family: 'fontello';\n  src: url(\"fonts/fontello.eot\");\n  src: url(\"fonts/fontello.eot\") format('embedded-opentype'),\n       url(\"fonts/fontello.woff\") format('woff'),\n       url(\"fonts/fontello.ttf\") format('truetype'),\n       url(\"fonts/fontello.svg\") format('svg');\n  font-weight: normal;\n  font-style: normal;\n}\n```\n\nCSS After Fingerprinting:\n```css\n@font-face {\n  font-family: 'fontello';\n  src: url(\"/build/fonts/fontello-ee7f7979.eot\");\n  src: url(\"/build/fonts/fontello-ee7f7979.eot\") format('embedded-opentype'),\n       url(\"/build/fonts/fontello-e25c919d.woff\") format('woff'),\n       url(\"/build/fonts/fontello-13276407.ttf\") format('truetype'),\n       url(\"/build/fonts/fontello-9cc6a21a.svg\") format('svg');\n  font-weight: normal;\n  font-style: normal;\n}\n```\n\nAs you can see, the after shows the font files replaced with the versioned ones in the `rev-manifest.json` file.\n\n\n### Full Documentation\n\n[https://github.com/vincentmac/gulp-fingerprint](https://github.com/vincentmac/gulp-fingerprint)\n\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT) © [Vincent Mac](http://simplicity.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorann%2Flaravel-elixir-fingerprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorann%2Flaravel-elixir-fingerprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorann%2Flaravel-elixir-fingerprint/lists"}