109 lines
2.7 KiB
JavaScript
109 lines
2.7 KiB
JavaScript
module.exports = {
|
|
siteMetadata: {
|
|
title: `React Flow`,
|
|
siteUrl: `https://reactflow.dev`,
|
|
description:
|
|
'React Flow is a highly customizable library for building interactive node-based editors, flow charts and diagrams.',
|
|
},
|
|
plugins: [
|
|
{
|
|
resolve: `gatsby-source-filesystem`,
|
|
options: {
|
|
name: 'pages',
|
|
path: `${__dirname}/src/pages`,
|
|
},
|
|
},
|
|
{
|
|
resolve: `gatsby-source-filesystem`,
|
|
options: {
|
|
name: `markdown`,
|
|
path: `${__dirname}/src/markdown`,
|
|
},
|
|
},
|
|
{
|
|
resolve: `gatsby-source-filesystem`,
|
|
options: {
|
|
name: `assets`,
|
|
path: `${__dirname}/src/assets`,
|
|
ignore: [`**/.*`], // ignore files starting with a dot
|
|
},
|
|
},
|
|
{
|
|
resolve: `gatsby-plugin-manifest`,
|
|
options: {
|
|
icon: `src/assets/icons/favicon.svg`,
|
|
name: `React Flow`,
|
|
short_name: `react-flow`,
|
|
start_url: `/`,
|
|
background_color: `#f7f0eb`,
|
|
theme_color: `#a2466c`,
|
|
display: `standalone`,
|
|
lang: 'en',
|
|
},
|
|
},
|
|
`gatsby-plugin-sharp`,
|
|
`gatsby-remark-images`,
|
|
{
|
|
resolve: `gatsby-transformer-remark`,
|
|
options: {
|
|
plugins: [
|
|
{
|
|
resolve: `gatsby-remark-images`,
|
|
options: {
|
|
linkImagesToOriginal: false,
|
|
},
|
|
},
|
|
{
|
|
resolve: `gatsby-remark-images-medium-zoom`,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
{
|
|
resolve: `gatsby-plugin-mdx`,
|
|
options: {
|
|
gatsbyRemarkPlugins: [
|
|
{
|
|
resolve: `gatsby-remark-images`,
|
|
options: {
|
|
maxWidth: 1200,
|
|
showCaptions: true,
|
|
quality: 85,
|
|
backgroundColor: 'white',
|
|
linkImagesToOriginal: false,
|
|
},
|
|
},
|
|
{
|
|
resolve: `gatsby-remark-responsive-iframe`,
|
|
options: {
|
|
wrapperStyle: `margin-bottom: 1.0725rem`,
|
|
},
|
|
},
|
|
'gatsby-remark-copy-linked-files',
|
|
{
|
|
resolve: `gatsby-remark-images-medium-zoom`, // Important!
|
|
options: {},
|
|
},
|
|
// 'gatsby-remark-unwrap-images',
|
|
],
|
|
remarkPlugins: [require('remark-unwrap-images')],
|
|
extensions: [`.md`, `.mdx`],
|
|
},
|
|
},
|
|
`gatsby-transformer-json`,
|
|
`gatsby-plugin-react-helmet`,
|
|
`gatsby-plugin-emotion`,
|
|
{
|
|
resolve: `gatsby-plugin-react-svg`,
|
|
options: {
|
|
rule: {
|
|
include: /icons/,
|
|
},
|
|
},
|
|
},
|
|
`gatsby-transformer-sharp`,
|
|
`gatsby-plugin-netlify`,
|
|
`gatsby-transformer-javascript-frontmatter`,
|
|
],
|
|
};
|