website/gatsby-config.js

48 lines
1.6 KiB
JavaScript
Raw Normal View History

2022-08-26 13:46:21 +00:00
module.exports = {
siteMetadata: require("./metadata"),
2022-10-28 09:37:40 +00:00
pathPrefix: '__GATSBY_IPFS_PATH_PREFIX__',
2022-08-26 13:46:21 +00:00
plugins: [
2022-10-28 09:37:40 +00:00
'gatsby-plugin-sitemap',
{ resolve: 'gatsby-plugin-robots-txt', options: { policy: [{userAgent: '*', allow: '/'}] } },
2022-10-13 21:38:18 +00:00
{
resolve: `gatsby-plugin-runtime-path-prefix`,
options: {
2022-10-28 09:37:40 +00:00
prefix: `__GATSBY_IPFS_PATH_PREFIX__`,
2022-10-13 21:38:18 +00:00
pattern: /^(\/(?:ipfs|ipns)\/[^/]+)/
},
},
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',
{
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-10-13 21:49:28 +00:00
// not working without puppeteer
//{ 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-10-13 21:38:18 +00:00
'gatsby-plugin-no-sourcemaps',
2022-08-26 13:46:21 +00:00
]
2022-09-01 17:34:29 +00:00
};