mirror of
https://github.com/recloudstream/website.git
synced 2024-08-15 03:18:45 +00:00
47 lines
1.5 KiB
JavaScript
47 lines
1.5 KiB
JavaScript
module.exports = {
|
|
siteMetadata: require("./metadata"),
|
|
pathPrefix: '__PATH_PREFIX__',
|
|
plugins: [
|
|
{
|
|
resolve: `gatsby-plugin-runtime-path-prefix`,
|
|
options: {
|
|
prefix: `__PATH_PREFIX__`,
|
|
pattern: /^(\/(?:ipfs|ipns)\/[^/]+)/
|
|
},
|
|
},
|
|
{
|
|
resolve: `gatsby-plugin-compile-es6-packages`,
|
|
options: {
|
|
modules: require("./babel-modules")
|
|
}
|
|
},
|
|
'gatsby-plugin-postcss',
|
|
'gatsby-plugin-preact',
|
|
'gatsby-plugin-sitemap',
|
|
{ resolve: 'gatsby-plugin-robots-txt', options: { policy: [{userAgent: '*', allow: '/'}] } },
|
|
{
|
|
resolve: 'gatsby-source-filesystem',
|
|
options: {
|
|
"name": "pages",
|
|
"path": "./src/pages/docs/",
|
|
},
|
|
__key: "pages"
|
|
},
|
|
{
|
|
resolve: 'gatsby-transformer-remark',
|
|
options: {
|
|
plugins: [
|
|
'gatsby-remark-smartypants',
|
|
// not working without puppeteer
|
|
//{ resolve: 'gatsby-remark-mermaid', options: { theme: "dark", mermaidOptions: { themeCSS: ".mermaid foreignObject {overflow: visible;}" } } },
|
|
{ resolve: 'gatsby-remark-prismjs', options: { showLineNumbers: false, } },
|
|
]
|
|
}
|
|
},
|
|
{ resolve: 'gatsby-plugin-html-attributes', options: { lang: 'en', 'data-theme': 'dark' } },
|
|
{ resolve: 'gatsby-plugin-nprogress', options: { color: '#6419E6' } },
|
|
{ resolve: 'gatsby-plugin-manifest', options: require("./manifest") },
|
|
{ resolve: 'gatsby-plugin-canonical-urls', options: { siteUrl: require("./metadata").siteUrl } },
|
|
'gatsby-plugin-no-sourcemaps',
|
|
]
|
|
};
|