{"size": 961, "ext": "js", "max_stars_repo_path": "gatsby-config.js", "max_stars_repo_name": "YuLingCheng/devux", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "gatsby-config.js", "max_issues_repo_name": "YuLingCheng/devux", "max_issues_repo_issues_event_min_datetime": "2019-04-26T09:15:27.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-17T22:06:31.000Z", "max_forks_repo_path": "gatsby-config.js", "max_forks_repo_name": "YuLingCheng/devux", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 18, "max_forks_count": null, "avg_line_length": 22.3488372093, "max_line_length": 79, "alphanum_fraction": 0.6441207076}
const contentful = require('contentful');
const manifestConfig = require('./manifest-config');
require('dotenv').config();

const { ACCESS_TOKEN, SPACE_ID, ANALYTICS_ID } = process.env;

const plugins = [
  'gatsby-plugin-react-helmet',
  {
    resolve: 'gatsby-plugin-manifest',
    options: manifestConfig,
  },
  'gatsby-plugin-styled-components',
  {
    resolve: 'gatsby-source-contentful',
    options: {
      spaceId: SPACE_ID,
      accessToken: ACCESS_TOKEN,
    },
  },
  'gatsby-transformer-remark',
  'gatsby-plugin-offline',
  'gatsby-plugin-netlify',
  {
    resolve: `gatsby-plugin-gdpr-cookies`,
    options: {
      googleAnalytics: {
        trackingId: ANALYTICS_ID,
        cookieName: 'gdpr-accepted', // default is gatsby-gdpr-google-analytics
        anonymize: false, // default is true
      },
      environments: ['production'],
    },
  },
];

module.exports = {
  siteMetadata: {
    isMediumUserDefined: false,
  },
  plugins,
};
