1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00
portfolio/gatsby-config.js
2018-04-22 16:02:34 +02:00

39 lines
790 B
JavaScript

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