1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 09:13:19 +01:00
portfolio/gatsby-config.js

36 lines
769 B
JavaScript

const meta = require('./src/data/meta.json')
module.exports = {
siteMetadata: {
siteUrl: `${meta.url}`,
},
plugins: [
'gatsby-plugin-react-next',
'gatsby-plugin-react-helmet',
'gatsby-plugin-sitemap',
{
resolve: 'gatsby-plugin-sass',
options: {
includePaths: [`${__dirname}/node_modules`, `${__dirname}/src/styles`],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'data',
path: `${__dirname}/src/data/`,
},
},
'gatsby-transformer-json',
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: `${meta.googleanalytics}`,
head: false,
anonymize: true,
respectDNT: true,
},
},
],
}