Disable 404 pages for Gatsby websites
npm install gatsby-disable-404


Disable /404 and /dev-404-page pages.
``bashWith Yarn
$ > yarn add -D gatsby-disable-404
$3
`js
// gatsby-config.jsmodule.exports = {
siteMetadata: {
title: "Gatsby Default Starter"
},
plugins: ["gatsby-disable-404"]
};
``Feel free to use the code, it's released using the MIT license.
You are welcome to contribute to this project! 😘
To make sure you have a pleasant experience, please read the code of conduct. It outlines core values and beliefs and will make working together a happier experience.