File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ module.exports = {
2525 DEV_SSR : false
2626 } ,
2727 plugins : [
28+ 'gatsby-plugin-sharp' ,
29+ 'gatsby-transformer-yaml' ,
30+ 'gatsby-transformer-sharp' ,
31+ 'gatsby-plugin-image' ,
2832 {
2933 resolve : 'gatsby-plugin-manifest' ,
3034 options : {
@@ -41,11 +45,8 @@ module.exports = {
4145 }
4246 } ,
4347 'gatsby-plugin-styled-components' ,
44- 'gatsby-plugin-sharp' ,
4548 'gatsby-plugin-react-helmet' ,
4649 'gatsby-plugin-scroll-reveal' ,
47- 'gatsby-transformer-yaml' ,
48- 'gatsby-transformer-sharp' ,
4950 {
5051 resolve : 'gatsby-source-filesystem' ,
5152 options : {
Original file line number Diff line number Diff line change @@ -89,9 +89,7 @@ export default function Hero() {
8989 }
9090 }
9191 ` )
92- console . log ( hero . desktop )
9392 console . log ( getImage ( hero . desktop ) )
94- console . log ( hero . mobile )
9593 console . log ( getImage ( hero . mobile ) )
9694
9795 const responsiveImages = withArtDirection ( getImage ( hero . desktop ) , [
You can’t perform that action at this time.
0 commit comments