website/gatsby-config.js

34 lines
1.0 KiB
JavaScript
Raw Normal View History

2022-08-26 13:46:21 +00:00
module.exports = {
siteMetadata: require("./metadata"),
plugins: [
"gatsby-plugin-postcss",
'gatsby-plugin-preact',
2022-08-26 15:30:19 +00:00
'gatsby-plugin-sitemap',
2022-09-01 08:13:02 +00:00
{ resolve: 'gatsby-plugin-robots-txt', options: { policy: [{userAgent: '*', allow: '/'}] } },
2022-08-26 13:46:21 +00:00
{
resolve: 'gatsby-source-filesystem',
options: {
"name": "pages",
"path": "./src/pages/docs/",
},
__key: "pages"
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-prismjs`,
options: {
showLineNumbers: false,
}
}
]
}
},
2022-09-01 08:13:02 +00:00
{ resolve: 'gatsby-plugin-html-attributes', options: { lang: 'en', 'data-theme': 'dark' } },
2022-08-26 15:30:19 +00:00
{ resolve: 'gatsby-plugin-nprogress', options: { color: '#6419E6' } },
2022-09-01 08:13:02 +00:00
{ resolve: 'gatsby-plugin-manifest', options: require("./manifest") },
{ resolve: 'gatsby-plugin-canonical-urls', options: { siteUrl: require("./metadata").siteUrl } },
2022-08-26 13:46:21 +00:00
]
};