๐Ÿ“ฆ gatsbyjs / gatsby

๐Ÿ“„ gatsby-config.js ยท 29 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29module.exports = {
  siteMetadata: {
    title: `Gatsby + Loadable Components Example`,
    description: `How to code-split at the component level with loadable-components and maintain SSR with Gatsby.`,
    author: `Grayson Hicks`,
  },
  plugins: [
    `gatsby-plugin-react-helmet`,
    `gatsby-plugin-image`,
    `gatsby-plugin-loadable-components-ssr`,
    {
      resolve: `gatsby-plugin-perf-budgets`,
      options: {
        devMode: true,
      },
    },
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `images`,
        path: `${__dirname}/src/images`,
      },
    },
    `gatsby-transformer-sharp`,
    `gatsby-plugin-sharp`,
    `gatsby-plugin-gatsby-cloud`,
  ],
}