{"id":16592317,"url":"https://github.com/quantizor/gatsby-plugin-remove-fingerprints","last_synced_at":"2026-02-18T03:32:16.279Z","repository":{"id":66057514,"uuid":"330748893","full_name":"quantizor/gatsby-plugin-remove-fingerprints","owner":"quantizor","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-18T18:12:47.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-15T00:17:48.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quantizor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-01-18T18:08:21.000Z","updated_at":"2021-08-13T00:54:14.000Z","dependencies_parsed_at":"2023-04-06T00:27:33.017Z","dependency_job_id":null,"html_url":"https://github.com/quantizor/gatsby-plugin-remove-fingerprints","commit_stats":null,"previous_names":["quantizor/gatsby-plugin-remove-fingerprints"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quantizor/gatsby-plugin-remove-fingerprints","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantizor%2Fgatsby-plugin-remove-fingerprints","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantizor%2Fgatsby-plugin-remove-fingerprints/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantizor%2Fgatsby-plugin-remove-fingerprints/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantizor%2Fgatsby-plugin-remove-fingerprints/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quantizor","download_url":"https://codeload.github.com/quantizor/gatsby-plugin-remove-fingerprints/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantizor%2Fgatsby-plugin-remove-fingerprints/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29567374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T00:47:08.760Z","status":"online","status_checked_at":"2026-02-18T02:00:09.468Z","response_time":162,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-11T23:20:27.497Z","updated_at":"2026-02-18T03:32:11.263Z","avatar_url":"https://github.com/quantizor.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# gatsby-plugin-remove-fingerprints\n\nEasily remove the output contenthash from your built JavaScript files.\n\n## Install\n\n`yarn add gatsby-plugin-remove-fingerprints`\n\n## How to use\n\nAdd the plugin to your\n\n```js\n// In your gatsby-config.js\nplugins: [`gatsby-plugin-remove-fingerprints`];\n```\n\n## Why?\n\nGatsby's default behaviour is to include a `[contenthash]` for all built JavaScript files. The default output configuration looks like this:\n\n```js\nreturn {\n  filename: `[name]-[contenthash].js`,\n  chunkFilename: `[name]-[contenthash].js`,\n  path: directoryPath(`public`),\n  publicPath: withTrailingSlash(publicPath),\n};\n```\n\nThis is useful for the majority of cases, but services like [Netlify](https://netlify.com) recommend building files without a hash. This plugin will eliminate the hash from built JavaScript files. The configuration looks like this:\n\n```js\nif (stage === 'build-javascript') {\n  const newWebpackConfig = {\n    ...getConfig(),\n    output: {\n      filename: `[name].js`, // no contenthash\n      chunkFilename: `[name].js`, // no contenthash\n      path: getConfig().output.path,\n      publicPath: getConfig().output.publicPath,\n    },\n  };\n\n  actions.replaceWebpackConfig(newWebpackConfig);\n}\n```\n\nTo learn more about the reasons why this is important you can read Netlify's staff response to a Gatsby issue, [Netlify and cache busting urls](https://github.com/gatsbyjs/gatsby/issues/11961).\n\nYou can also learn more about how [Netlify handles their caching](https://www.netlify.com/blog/2017/02/23/better-living-through-caching/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantizor%2Fgatsby-plugin-remove-fingerprints","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantizor%2Fgatsby-plugin-remove-fingerprints","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantizor%2Fgatsby-plugin-remove-fingerprints/lists"}