2018-04-12 00:10:13 +02:00
|
|
|
const meta = require('./data/meta.json')
|
2018-04-21 02:03:45 +02:00
|
|
|
const { url, googleanalytics } = meta
|
2018-04-08 00:19:54 +02:00
|
|
|
|
2018-04-06 17:24:35 +02:00
|
|
|
module.exports = {
|
|
|
|
siteMetadata: {
|
2018-04-21 02:03:45 +02:00
|
|
|
siteUrl: `${url}`,
|
2018-04-06 17:24:35 +02:00
|
|
|
},
|
|
|
|
plugins: [
|
2018-04-08 00:19:54 +02:00
|
|
|
'gatsby-plugin-react-next',
|
2018-04-06 17:24:35 +02:00
|
|
|
'gatsby-plugin-react-helmet',
|
2018-04-08 00:19:54 +02:00
|
|
|
'gatsby-plugin-sitemap',
|
2018-04-16 22:32:30 +02:00
|
|
|
'gatsby-transformer-json',
|
2018-04-18 21:01:26 +02:00
|
|
|
'gatsby-transformer-sharp',
|
|
|
|
'gatsby-plugin-sharp',
|
2018-04-21 03:09:19 +02:00
|
|
|
'gatsby-plugin-offline',
|
|
|
|
'gatsby-plugin-sitemap',
|
2018-04-07 14:18:06 +02:00
|
|
|
{
|
2018-04-08 22:49:58 +02:00
|
|
|
resolve: 'gatsby-plugin-sass',
|
2018-04-07 14:18:06 +02:00
|
|
|
options: {
|
2018-04-18 21:01:26 +02:00
|
|
|
includePaths: [
|
|
|
|
`${__dirname}/node_modules`,
|
|
|
|
`${__dirname}/src/styles`
|
2018-04-20 22:56:18 +02:00
|
|
|
]
|
|
|
|
}
|
2018-04-07 14:18:06 +02:00
|
|
|
},
|
2018-04-06 17:24:35 +02:00
|
|
|
{
|
2018-04-08 22:49:58 +02:00
|
|
|
resolve: 'gatsby-source-filesystem',
|
2018-04-06 17:24:35 +02:00
|
|
|
options: {
|
2018-04-11 13:46:55 +02:00
|
|
|
name: 'data',
|
2018-04-12 00:10:13 +02:00
|
|
|
path: `${__dirname}/data/`,
|
2018-04-20 22:56:18 +02:00
|
|
|
}
|
2018-04-08 22:49:58 +02:00
|
|
|
},
|
2018-04-18 21:01:26 +02:00
|
|
|
{
|
|
|
|
resolve: 'gatsby-source-filesystem',
|
|
|
|
options: {
|
|
|
|
name: 'images',
|
|
|
|
path: `${__dirname}/src/images`,
|
2018-04-20 22:56:18 +02:00
|
|
|
}
|
2018-04-18 21:01:26 +02:00
|
|
|
},
|
2018-04-11 12:46:55 +02:00
|
|
|
{
|
|
|
|
resolve: 'gatsby-plugin-google-analytics',
|
|
|
|
options: {
|
2018-04-21 02:03:45 +02:00
|
|
|
trackingId: `${googleanalytics}`,
|
2018-04-11 12:46:55 +02:00
|
|
|
head: false,
|
|
|
|
anonymize: true,
|
|
|
|
respectDNT: true,
|
2018-04-20 22:56:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2018-04-06 17:24:35 +02:00
|
|
|
}
|