2020-04-08 22:20:48 +03:00
|
|
|
const path = require('path')
|
|
|
|
|
2019-07-30 02:56:17 +03:00
|
|
|
module.exports = {
|
2019-08-03 01:50:13 +03:00
|
|
|
siteMetadata: {
|
|
|
|
title: 'Primer CSS',
|
|
|
|
shortName: 'CSS',
|
2019-08-13 02:45:00 +03:00
|
|
|
description: "CSS for GitHub's Primer design system",
|
|
|
|
imageUrl: 'https://user-images.githubusercontent.com/586552/47590375-121cad80-d93a-11e8-89f2-a1cf108e0548.png'
|
2019-08-03 01:50:13 +03:00
|
|
|
},
|
2019-08-10 03:07:23 +03:00
|
|
|
pathPrefix: '/css',
|
2019-07-30 02:56:17 +03:00
|
|
|
plugins: [
|
|
|
|
{
|
|
|
|
resolve: '@primer/gatsby-theme-doctocat',
|
|
|
|
options: {
|
2019-08-12 21:15:19 +03:00
|
|
|
repoRootPath: '..'
|
2019-07-30 02:56:17 +03:00
|
|
|
}
|
|
|
|
},
|
2019-08-12 21:15:19 +03:00
|
|
|
'gatsby-plugin-sass',
|
|
|
|
{
|
|
|
|
resolve: 'gatsby-plugin-svgr',
|
|
|
|
options: {
|
|
|
|
svgo: false
|
|
|
|
}
|
2019-08-14 01:24:35 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: 'gatsby-plugin-google-analytics',
|
|
|
|
options: {
|
|
|
|
trackingId: 'UA-126681523-2',
|
|
|
|
anonymize: true
|
|
|
|
}
|
2020-04-08 22:20:48 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
resolve: `gatsby-plugin-alias-imports`,
|
|
|
|
options: {
|
|
|
|
alias: {
|
|
|
|
'styled-components': path.resolve(__dirname, 'node_modules', 'styled-components'),
|
2020-04-08 22:27:34 +03:00
|
|
|
react: path.resolve(__dirname, 'node_modules', 'react')
|
2020-04-08 22:20:48 +03:00
|
|
|
}
|
|
|
|
}
|
2019-08-12 21:15:19 +03:00
|
|
|
}
|
2019-07-30 02:56:17 +03:00
|
|
|
]
|
|
|
|
}
|