{"_id":"@ascorbic/gatsby-plugin-netlify","_rev":"3-16feb80abfca0ada8519e2a837b1e3f0","name":"@ascorbic/gatsby-plugin-netlify","dist-tags":{"latest":"4.0.0-2"},"versions":{"4.0.0-0":{"name":"@ascorbic/gatsby-plugin-netlify","description":"A Gatsby plugin which generates a _headers file for netlify","version":"4.0.0-0","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/netlify/gatsby-plugin-netlify/issues"},"contributors":[{"name":"Nathanael Beisiegel","email":"pknb.dev@gmail.com"}],"dependencies":{"@babel/runtime":"^7.14.8","fs-extra":"^10.0.0","gatsby-core-utils":"^3.0.0-alpha-9689ff.24","kebab-hash":"^0.1.2","lodash":"^4.17.21","webpack-assets-manifest":"^5.0.6"},"devDependencies":{"@babel/cli":"^7.14.8","@babel/core":"^7.14.8","@babel/eslint-parser":"^7.14.0","@babel/eslint-plugin":"^7.14.0","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","babel-preset-gatsby-package":"^1.13.0","cross-env":"^7.0.3","eslint":"^7.32.0","eslint-config-google":"^0.14.0","eslint-config-prettier":"^8.3.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.23.4","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.24.0","gatsby":"^4.0.0-alpha","gatsby-plugin-utils":"^2.0.0-alpha","jest":"^27.0.6","prettier":"^2.3.2","typescript":"^4.3.5"},"homepage":"https://github.com/netlify/gatsby-plugin-netlify#readme","keywords":["gatsby","gatsby-plugin","http/2-server-push","netlify"],"license":"MIT","main":"index.js","peerDependencies":{"gatsby":"^4.0.0-alpha"},"repository":{"type":"git","url":"https://github.com/netlify/gatsby-plugin-netlify.git"},"scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build","format":"npm run format:code && npm run format:other","format:code":"npm run lint -- --fix","format:other":"npm run prettier -- --write","lint":"eslint --ext .js,.jsx,.ts,.tsx .","prettier":"prettier \"**/*.{md,css,scss,yaml,yml}\"","test":"jest","watch":"babel -w src --out-dir . --ignore \"**/__tests__\""},"engines":{"node":">=12.13.0"},"_id":"@ascorbic/gatsby-plugin-netlify@4.0.0-0","dist":{"shasum":"0da92daa2bb8bc1a718afd40fbc60d5e92171526","integrity":"sha512-AuIeTCmAuMlrtUSiO5oU3cqCrz95i0p6CMx454VYqglHGHprI7Bf8Kvxa9BnCMUIloJf9aCdxiTPFl2z+vCk6w==","tarball":"https://registry.npmjs.org/@ascorbic/gatsby-plugin-netlify/-/gatsby-plugin-netlify-4.0.0-0.tgz","fileCount":11,"unpackedSize":60541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhO2EeCRA9TVsSAnZWagAAVowP/A2GQkAaF0xqwgANAw0h\n2TrPO0enEI9fLHtWGIoiXHOXl9s1OSjmtCNao9llyhMcfV8SgWCvlIca58MD\nckGPOwZYRwHGpZ0ivq/64WbqZc8jp71xwdx965CmivMpXm0joAmdIm1txIOg\n5LvMf+yCgIjHiAwFnxMEJ9pCnJC+7cU5oaaDBwQL03GK9MZ/orvwlFWPyczF\n77+nlvkaZRFxDp66cxsfpjS7+HDeYagM7UpoUynzvVoQM7HOi1wkg7ZaT/Jt\nPv7D35FqrmmRkKOGMT1adQcsXv6lZJcfqQBjqYc9EQZRkgDKgb5XQj/kjdfJ\nn2oH3/LuB8cdOJBW+B314gICMrGnqbIUC5r+FQdmobt7X8CaxbcVWJ2UOZ8Z\nx45aJQuf6CDRnipXuOfEsRUVg8WAQyovzm2RxMdheQDPQYtmZD0Bc3rM+6mU\nnOB+E7bipjBGgt1HhZz/W0+UP/SR3WE0CEmoM9PtfgW9zjISk1iamfItvzyl\nYDMsf7UUXh7o8ZyT3LOt+9XlKEFaTihOP9Tm4hXhNKsrxXv1LvZyl/2fsq4x\nZux6qMJfP1a3tlb5pTfAlD0ir4xBOB6HIFEyLtIUV1ECvWXUZmVi+Yg8QdYe\n9izLtEdNe1dYZk2sWSc4YDWuctRDZ8PDZmoJ54ZjSrQVo1Ftu66AP07zucfl\nluPg\r\n=9c1X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDCjHgVTm4afFGKh09khY8pImyESr5C/CjGrPnjgKRpeAiA03ASoxyuSlGvLf5nm/6DfxZ/3XsGAGEiq7KoMnyjMrQ=="}]},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"directories":{},"maintainers":[{"name":"ascorbic","email":"m@mk.gg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-netlify_4.0.0-0_1631281438183_0.19278279234355855"},"_hasShrinkwrap":false},"4.0.0-1":{"name":"@ascorbic/gatsby-plugin-netlify","description":"A Gatsby plugin which generates a _headers file for netlify","version":"4.0.0-1","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/netlify/gatsby-plugin-netlify/issues"},"contributors":[{"name":"Nathanael Beisiegel","email":"pknb.dev@gmail.com"}],"dependencies":{"@babel/runtime":"^7.14.8","fs-extra":"^10.0.0","gatsby-core-utils":"^3.0.0-alpha-9689ff.24","kebab-hash":"^0.1.2","lodash":"^4.17.21","webpack-assets-manifest":"^5.0.6"},"devDependencies":{"@babel/cli":"^7.14.8","@babel/core":"^7.14.8","@babel/eslint-parser":"^7.14.0","@babel/eslint-plugin":"^7.14.0","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","babel-preset-gatsby-package":"^1.13.0","cross-env":"^7.0.3","eslint":"^7.32.0","eslint-config-google":"^0.14.0","eslint-config-prettier":"^8.3.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.23.4","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.24.0","gatsby":"^4.0.0-alpha","gatsby-plugin-utils":"^2.0.0-alpha","jest":"^27.0.6","prettier":"^2.3.2","typescript":"^4.3.5"},"homepage":"https://github.com/netlify/gatsby-plugin-netlify#readme","keywords":["gatsby","gatsby-plugin","http/2-server-push","netlify"],"license":"MIT","main":"index.js","peerDependencies":{"gatsby":"^4.0.0-alpha"},"repository":{"type":"git","url":"https://github.com/netlify/gatsby-plugin-netlify.git"},"scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build","format":"npm run format:code && npm run format:other","format:code":"npm run lint -- --fix","format:other":"npm run prettier -- --write","lint":"eslint --ext .js,.jsx,.ts,.tsx .","prettier":"prettier \"**/*.{md,css,scss,yaml,yml}\"","test":"jest","watch":"babel -w src --out-dir . --ignore \"**/__tests__\""},"engines":{"node":">=12.13.0"},"_id":"@ascorbic/gatsby-plugin-netlify@4.0.0-1","dist":{"shasum":"7998ce870f900c7d46b12e4402a103730b81e322","integrity":"sha512-bz1JbsHbPup/2O6xBWEMvVk7feL2rwrjtQ7o6md7zcnqkkYbk+w2oE2hYCvVFvDUTj3mN/NSfsUgVk6znEE5fg==","tarball":"https://registry.npmjs.org/@ascorbic/gatsby-plugin-netlify/-/gatsby-plugin-netlify-4.0.0-1.tgz","fileCount":11,"unpackedSize":60541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhO2KeCRA9TVsSAnZWagAA5+4P/0ghJ3SlsWa1UTNAo9fb\nfvLDPtscvXkfZxnl4716G5+cRr0fNuu4oyn4tD7OJ75e2KkZ2+ugsWE9coi+\nIBxLsCmfdZaSKX030MBd46kHcmLTlxbX4xle7boLbPVYLFM2P/5fPpWOt1SH\neJ9TBwLAN2tMrEiW00zEjHI3ABpWc/lyFwR2AhiQlEb4oNehoJ55r7MRtqF7\n6DVe5q/gTAQYRSRjLMNaWI/k79+OJTSijNEdk1DeHaODgi6vx9l04pLK+T0S\ngjhx18ixO/ahOVnFHXhP+VgWMemX8ylX/27+8rsILSfCz/C4sJTbDWoBlXmq\nmgkGkCdymaumAUtCulZsCy1IPxhJaGyIlR1f1uyXbSc4tkKYRXd3ohsMfmxz\nbzhriFvIYICFeVuNuDgXPDSSGaEPgp+oObCu6e46NnuShIVkpoJdPuG6DQIw\nVueTEK0FkDiISGGVxpb4NqRGiGmB7w1QkINyK8jhxCTi/+q8fdECsDwezt3u\np2QOIYmaqzvaJ2AgpYij06wW6rC5WB+/MjvLhKEOyZJUiQH59E/6a8cZm8sm\n64ngL33JO4vk69XzY+l8F7e/su7etQHX+/nroBsADWU9+pw/kSuD+Wr70u8j\nhlc9hhKvZVyjd7nNrWvVOKTroWGRR/qGaOWSji+J6UItB5dR113ymqBUhorB\nSpAD\r\n=T2Yj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2RQqK829A0oA+QknrPsRf5+bVj3wSo43NdalDnvWj1QIgV/ZXUAiSPPN5LB/tolDulSy+I7WuBkmBlzY1MsQC6Z4="}]},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"directories":{},"maintainers":[{"name":"ascorbic","email":"m@mk.gg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-netlify_4.0.0-1_1631281822595_0.8802639448367131"},"_hasShrinkwrap":false},"4.0.0-2":{"name":"@ascorbic/gatsby-plugin-netlify","description":"A Gatsby plugin which generates a _headers file for netlify","version":"4.0.0-2","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/netlify/gatsby-plugin-netlify/issues"},"contributors":[{"name":"Nathanael Beisiegel","email":"pknb.dev@gmail.com"}],"dependencies":{"@babel/runtime":"^7.14.8","fs-extra":"^10.0.0","gatsby-core-utils":"^3.0.0-alpha-9689ff.24","kebab-hash":"^0.1.2","lodash":"^4.17.21","webpack-assets-manifest":"^5.0.6"},"devDependencies":{"@babel/cli":"^7.14.8","@babel/core":"^7.14.8","@babel/eslint-parser":"^7.14.0","@babel/eslint-plugin":"^7.14.0","@typescript-eslint/eslint-plugin":"^4.28.1","@typescript-eslint/parser":"^4.28.1","babel-preset-gatsby-package":"^1.13.0","cross-env":"^7.0.3","eslint":"^7.32.0","eslint-config-google":"^0.14.0","eslint-config-prettier":"^8.3.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.23.4","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.24.0","gatsby":"^4.0.0-alpha","gatsby-plugin-utils":"^2.0.0-alpha","jest":"^27.0.6","prettier":"^2.3.2","typescript":"^4.3.5"},"homepage":"https://github.com/netlify/gatsby-plugin-netlify#readme","keywords":["gatsby","gatsby-plugin","http/2-server-push","netlify"],"license":"MIT","main":"index.js","peerDependencies":{"gatsby":"^4.0.0-alpha"},"repository":{"type":"git","url":"https://github.com/netlify/gatsby-plugin-netlify.git"},"scripts":{"build":"babel src --out-dir . --ignore \"**/__tests__\"","prepare":"cross-env NODE_ENV=production npm run build","prepublishOnly":"npm run prepare","format":"npm run format:code && npm run format:other","format:code":"npm run lint -- --fix","format:other":"npm run prettier -- --write","lint":"eslint --ext .js,.jsx,.ts,.tsx .","prettier":"prettier \"**/*.{md,css,scss,yaml,yml}\"","test":"jest","watch":"babel -w src --out-dir . --ignore \"**/__tests__\""},"engines":{"node":">=12.13.0"},"_id":"@ascorbic/gatsby-plugin-netlify@4.0.0-2","dist":{"shasum":"3adce71a97021d7190ff72eeb0b8ce4891e5e6b6","integrity":"sha512-b8kAsqHeeZUR3+P35pKdW3NFOJS4k5xjY+k2lIWHyQImvR1z9NLF3rU0SYV8ftq+A8FlcsdZ2S9KSQ8S7ZKjFQ==","tarball":"https://registry.npmjs.org/@ascorbic/gatsby-plugin-netlify/-/gatsby-plugin-netlify-4.0.0-2.tgz","fileCount":11,"unpackedSize":60787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhO4ksCRA9TVsSAnZWagAAjv4P/jQNdZyOQr6Sns3IHAy9\nOefkreEaiZYBkju5SIyuFoCfbk9fVXuJRT3Pc8w4OSz1EJlPbJoWGgqI1Qyj\nsMpPMGy5LekC0u7rOfgchY5ycifsOjxpPyajYbqj1XSvw3IWXnmGt5C9xoiG\nd2OlrDIw23qcG5PydUCN+VK4+9VcGJoAADI/ovWevKX4csowEXC6dYdA6ubY\nlv/MBEjDCTAhWehBAq7C2mhMJo4LGTEH0PGqk6+hMX44s+fv44YJh1wFfutm\nnySnhCB6Yhz8+dQaQCNM+b87+Ka9+GDD+FsRW+szMq0PZzB4sqrOUTFaIlpw\nG+MGTyMHeFxxz3ebV2vxf3l2Fhtz0TEvuTWx8lDoxg6HBuuiWoQUnYdk9aBH\nv6ACF/A4+tgd/HtmJ0qGwIzAcAPmewzS7o3R0PqSpK2ffA2OvHn2RY6Xp1CU\nlkMFzeM+wU7qMmlOr23YIfovcjm7pt8agyl1TlkuTatEwxjhIWPrEHJpyHzu\n26CNz/oNW91XL0Ql842/2rV6k+gGnAwyjwN0IR95DGms3lqPM317Dy3jlezB\n9y3/SkjfodxscTiJaLYLQNQX6e+ylly1Ckk4yhssjWZqIlILMkb6fuJY1cQh\nkNEMXi3hbop2z+nWVGVCOPADYBO6ycIuFXTkK840jKd8VlkZqZUV7xcUy9UC\nb2CO\r\n=h8Tw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZKHs4lI519cRDnSTYry2syweUVNZ98V01EXP0qDrfsgIgFrwX7ScTQSng4y+K7q70dw8y+1u/WF3cx6ebD5sKVK4="}]},"_npmUser":{"name":"ascorbic","email":"m@mk.gg"},"directories":{},"maintainers":[{"name":"ascorbic","email":"m@mk.gg"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-netlify_4.0.0-2_1631291692005_0.24859115636287887"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-10T13:43:58.131Z","4.0.0-0":"2021-09-10T13:43:58.346Z","modified":"2022-04-04T15:43:11.587Z","4.0.0-1":"2021-09-10T13:50:22.793Z","4.0.0-2":"2021-09-10T16:34:52.166Z"},"maintainers":[{"name":"ascorbic","email":"m@mk.gg"}],"description":"A Gatsby plugin which generates a _headers file for netlify","homepage":"https://github.com/netlify/gatsby-plugin-netlify#readme","keywords":["gatsby","gatsby-plugin","http/2-server-push","netlify"],"repository":{"type":"git","url":"https://github.com/netlify/gatsby-plugin-netlify.git"},"contributors":[{"name":"Nathanael Beisiegel","email":"pknb.dev@gmail.com"}],"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/netlify/gatsby-plugin-netlify/issues"},"license":"MIT","readme":"# gatsby-plugin-netlify\n\nAutomatically generates a `_headers` file and a `_redirects` file at the root of the public folder to configure\n[HTTP headers](https://www.netlify.com/docs/headers-and-basic-auth/) and [redirects](https://www.netlify.com/docs/redirects/) on Netlify.\n\nBy default, the plugin will add some basic security headers. You can easily add or replace headers through the plugin config.\n\n## Install\n\n`npm install gatsby-plugin-netlify`\n\n## How to use\n\n```javascript\n// In your gatsby-config.js\nplugins: [`gatsby-plugin-netlify`]\n```\n\n## Configuration\n\nIf you just need the critical assets, you don't need to add any additional\nconfig. However, if you want to add headers, remove default headers, or\ntransform the given headers, you can use the following configuration options.\n\n```javascript\nplugins: [\n  {\n    resolve: `gatsby-plugin-netlify`,\n    options: {\n      headers: {}, // option to add more headers. `Link` headers are transformed by the below criteria\n      allPageHeaders: [], // option to add headers for all pages. `Link` headers are transformed by the below criteria\n      mergeSecurityHeaders: true, // boolean to turn off the default security headers\n      mergeLinkHeaders: true, // boolean to turn off the default gatsby js headers\n      transformHeaders: (headers, path) => headers, // optional transform for manipulating headers under each path (e.g.sorting), etc.\n      generateMatchPathRewrites: true, // boolean to turn off automatic creation of redirect rules for client only paths\n    },\n  },\n]\n```\n\n### Headers\n\nThe headers object represents a JS version of the\n[Netlify `_headers` file format](https://www.netlify.com/docs/headers-and-basic-auth/).\nYou should pass in an object with string keys (representing the paths) and an\narray of strings for each header.\n\nAn example:\n\n```javascript\n{\n  options: {\n    headers: {\n      \"/*\": [\n        \"Basic-Auth: someuser:somepassword anotheruser:anotherpassword\",\n      ],\n      \"/my-page\": [\n        // matching headers (by type) are replaced by Netlify with more specific routes\n        \"Basic-Auth: differentuser:differentpassword\",\n      ],\n    },\n  }\n}\n```\n\nLink paths are specially handled by this plugin. Since most files are processed\nand cache-busted through Gatsby (with a file hash), the plugin will transform\nany base file names to the hashed variants. If the file is not hashed, it will\nensure the path is valid relative to the output `public` folder. You should be\nable to reference assets imported through javascript in the `static` folder.\n\nWhen `mergeLinkHeaders` is true, as it is by default, this plugin will generate HTTP preload headers for the asset paths for all of your application's pages.\n\nAn example:\n\n```\n/my-page\n  Link: </webpack-runtime-61d3e010ac286a1ce7e1.js>; rel=preload; as=script\n  Link: </styles-89fd2ae28bdf06750a71.js>; rel=preload; as=script\n  Link: </framework-376edee25eb5f5cd8260.js>; rel=preload; as=script\n  Link: </app-9035e07a2b55474b8eee.js>; rel=preload; as=script\n  Link: </styles-89fd2ae28bdf06750a71.js>; rel=preload; as=script\n  Link: </component---src-pages-index-js-102db70fdea806a1e5b8.js>; rel=preload; as=script\n  Link: </page-data/app-data.json>; rel=preload; as=fetch; crossorigin\n  Link: </page-data/index/page-data.json>; rel=preload; as=fetch; crossorigin\n```\n\nTherefore, expect the size of the `_headers` file to grow linearly with the number of pages in your application.\n\n> **Note:** Gatsby also adds these preload tags in your pages' index.html files, whether or not you are using this plugin.\n\nDo not specify the public path in the config, as the plugin will provide it for\nyou.\n\nThe Netlify `_headers` file does not inherit headers, and it will replace any\nmatching headers it finds in more specific routes. For example, if you add a\nlink to the root wildcard path (`/*`), it will be replaced by any more\nspecific path. If you want a resource to put linked across the site, you will\nhave to add to every path. To make this easier, the plugin provides the\n`allPageHeaders` option to inject the same headers on every path.\n\n```javascript\n{\n  options: {\n    allPageHeaders: [\n      \"Link: </static/my-logo.png>; rel=preload; as=image\",\n    ],\n    headers: {\n      \"/*\": [\n        \"Basic-Auth: someuser:somepassword anotheruser:anotherpassword\",\n      ],\n    },\n  }\n}\n```\n\nYou can validate the `_headers` config through the\n[Netlify playground app](https://play.netlify.com/headers).\n\n### Redirects\n\nYou can create redirects using the [`createRedirect`](https://www.gatsbyjs.org/docs/actions/#createRedirect) action.\n\nIn addition to the options provided by the Gatsby API, you can pass these options specific to this plugin:\n\n| Attribute    | Description                                                                                                                                                                                                                                                                                                                                                                                                      |\n| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `force`      | Overrides existing content in the path. This is particularly useful for domain alias redirects. See [the Netlify documentation for this option](https://www.netlify.com/docs/redirects/#structured-configuration).                                                                                                                                                                                               |\n| `statusCode` | Overrides the HTTP status code which is set to `302` by default or `301` when [`isPermanent`](https://www.gatsbyjs.org/docs/actions/#createRedirect) is `true`. Since Netlify supports custom status codes, you can set one here. For example, `200` for rewrites, or `404` for a custom error page. See [the Netlify documentation for this option](https://www.netlify.com/docs/redirects/#http-status-codes). |\n\nAn example:\n\n```javascript\ncreateRedirect({ fromPath: \"/old-url\", toPath: \"/new-url\", isPermanent: true })\ncreateRedirect({ fromPath: \"/url\", toPath: \"/zn-CH/url\", Language: \"zn\" })\ncreateRedirect({\n  fromPath: \"/url_that_is/not_pretty\",\n  toPath: \"/pretty/url\",\n  statusCode: 200,\n})\n```\n\nYou can also create a `_redirects` file in the `static` folder for the same effect. Any programmatically created redirects will be appended to the file.\n\n```shell\n# my manually set redirects\n/home              /\n/blog/my-post.php  /blog/my-post\n```\n\nYou can validate the `_redirects` config through the\n[Netlify playground app](https://play.netlify.com/redirects).\n\nRedirect rules are automatically added for [client only paths](https://www.gatsbyjs.org/docs/client-only-routes-and-user-authentication). The plugin uses the [matchPath](https://www.gatsbyjs.org/docs/gatsby-internals-terminology/#matchpath) syntax to match all possible requests in the range of your client-side routes and serves the HTML file for the client-side route. Without it, only the exact route of the client-side route works.\n\nIf those rules are conflicting with custom rules or if you want to have more control over them you can disable them in [configuration](#configuration) by setting `generateMatchPathRewrites` to `false`.\n","readmeFilename":"README.md"}