1
1
mirror of https://github.com/primer/css.git synced 2024-12-25 23:23:47 +03:00
css/docs/gatsby-config.js

37 lines
867 B
JavaScript
Raw Normal View History

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: {
2021-03-26 19:47:57 +03:00
defaultBranch: 'main',
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-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')
}
}
2019-08-12 21:15:19 +03:00
}
2019-07-30 02:56:17 +03:00
]
}