feat: add gatsby image

This commit is contained in:
Kyle Gill
2019-05-18 14:39:57 -06:00
parent c91b13a568
commit 4691ad10ab
8 changed files with 6573 additions and 30 deletions

View File

@@ -2,6 +2,8 @@ module.exports = {
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-offline`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-emotion`,
},
@@ -32,5 +34,22 @@ module.exports = {
icon: `src/img/splash.png`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: `${__dirname}/src/img`,
},
},
{
resolve: "gatsby-plugin-module-resolver",
options: {
root: "./src",
aliases: {
components: "./components",
img: "./img",
},
},
},
],
}