require("dotenv").config() const siteConfig = require("./config") module.exports = { siteMetadata: { ...siteConfig, }, plugins: [ "gatsby-plugin-react-helmet", `gatsby-plugin-sitemap`, "gatsby-plugin-sass", { resolve: "gatsby-source-filesystem", options: { path: `${__dirname}/static/assets`, name: "assets", }, }, { resolve: `gatsby-plugin-manifest`, options: { name: `devthread`, short_name: `devthread`, start_url: `/`, background_color: `#ffffff`, icons: [ { src: `/android-chrome-192x192.png`, sizes: `192x192`, type: `image/png`, }, { src: `/android-chrome-512x512.png`, sizes: `512x512`, type: `image/png`, }, ], theme_color: `#ffffff`, display: `standalone`, }, }, { resolve: "gatsby-plugin-firebase", options: { credentials: { apiKey: process.env.API_KEY, authDomain: process.env.AUTH_DOMAIN, databaseURL: process.env.DATABASE_URL, projectId: process.env.PROJECT_ID, storageBucket: process.env.STORAGE_BUCKET, messagingSenderId: process.env.MESSAGING_SENDER_ID, appId: process.env.APP_ID, }, }, }, { resolve: `gatsby-plugin-nprogress`, options: { color: `#5183F5`, showSpinner: false, }, }, "gatsby-plugin-sharp", "gatsby-transformer-sharp", { resolve: `gatsby-transformer-remark`, options: { plugins: [ { resolve: `gatsby-remark-relative-images`, options: { name: "assets", }, }, { resolve: `gatsby-remark-images`, }, { resolve: `gatsby-transformer-remark`, options: { plugins: [ { resolve: `gatsby-remark-autolink-headers`, options: { offsetY: `140`, icon: ``, className: `anchor-link`, maintainCase: true, removeAccents: true, isIconAfterHeader: true, elements: [`h1`, `h2`, `h3`, `h4`], }, }, { resolve: `gatsby-remark-vscode`, options: { extensions: ["material-theme"], theme: { default: "Light+ (default light)", parentSelector: { "body.dark": "One Dark Pro", }, }, }, }, ], }, }, ], }, }, { resolve: "gatsby-plugin-react-svg", options: { rule: { include: /images/, }, }, }, { resolve: "gatsby-source-filesystem", options: { name: "content", path: `${__dirname}/content`, }, }, "gatsby-plugin-netlify-cms", ], }