felschr.com/gatsby-config.ts

64 lines
1.4 KiB
TypeScript

import type { GatsbyConfig } from "gatsby";
const config: GatsbyConfig = {
siteMetadata: {
title: "felschr's dev blog",
headline: "Engineering software with passion",
author: "Felix Schröter",
siteUrl: "https://felschr.com",
},
graphqlTypegen: true,
plugins: [
"gatsby-plugin-emotion",
"gatsby-plugin-image",
"gatsby-plugin-react-helmet",
"gatsby-plugin-sitemap",
{
resolve: "gatsby-plugin-manifest",
options: {
icon: "src/images/icon.png",
},
},
{
resolve: "gatsby-plugin-mdx",
options: {
extensions: [".mdx", ".md"],
gatsbyRemarkPlugins: [
{
resolve: "gatsby-remark-prismjs",
options: {
showLineNumbers: true,
},
},
],
},
},
"gatsby-plugin-mdx-frontmatter",
"gatsby-plugin-sharp",
"gatsby-transformer-sharp",
"gatsby-plugin-mdx-source-name",
{
resolve: "gatsby-source-filesystem",
options: {
name: "images",
path: "./src/images/",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "pages",
path: "./src/content/pages/",
},
},
{
resolve: "gatsby-source-filesystem",
options: {
name: "posts",
path: "./src/content/posts/",
},
},
],
};
export default config;