Package Exports
- gatsby-plugin-sectxt
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gatsby-plugin-sectxt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gatsby-plugin-sectxt
Gatsby plugin to create security.txt with sectxt
References:
Installation
yarn add gatsby-plugin-sectxtUsage
// gatsby-config.js
module.exports = {
/* Your site config here */
plugins: [
{
resolve: `gatsby-plugin-sectxt`,
options: {
pathAlternative: "/security.txt",
contacts: ["mailto:security@example.org"],
expires: new Date("2022-12-31"),
preferredLanguages: ["en", "de"],
hiring: ["https://secjobs.example.org"],
},
},
],
}Examples
See more complete examples.