website/gatsby-config.js

38 lines
1.3 KiB
JavaScript
Raw Normal View History

2022-08-26 13:46:21 +00:00
module.exports = {
siteMetadata: require("./metadata"),
plugins: [
2022-09-18 10:54:51 +00:00
{
resolve: `gatsby-plugin-compile-es6-packages`,
options: {
modules: require("./babel-modules")
}
},
2022-09-01 09:09:54 +00:00
'gatsby-plugin-postcss',
2022-08-26 13:46:21 +00:00
'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"
},
{
2022-09-01 09:09:54 +00:00
resolve: 'gatsby-transformer-remark',
2022-08-26 13:46:21 +00:00
options: {
plugins: [
2022-09-01 09:09:54 +00:00
'gatsby-remark-smartypants',
2022-09-01 17:34:29 +00:00
{ resolve: 'gatsby-remark-mermaid', options: { theme: "dark", mermaidOptions: { themeCSS: ".mermaid foreignObject {overflow: visible;}" } } },
2022-09-01 09:09:54 +00:00
{ resolve: 'gatsby-remark-prismjs', options: { showLineNumbers: false, } },
2022-08-26 13:46:21 +00:00
]
}
},
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
]
2022-09-01 17:34:29 +00:00
};