Skip to content

Commit

Permalink
feat(optimize): add gatsby img to projects
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Nice committed Sep 3, 2019
1 parent f4e9fc0 commit f152161
Show file tree
Hide file tree
Showing 5 changed files with 1,795 additions and 14 deletions.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
manifestThemeColor: '#34d12e',
manifestDisplay: 'standalone',
manifestIcon: 'src/assets/img/website-icon.png',
pathPrefix: '/',
pathPrefix: null,
heading: 'solinfra',
subHeading: '... building the clouds of tomorrow, today',

Expand Down
12 changes: 10 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,17 @@ module.exports = {
{
resolve: 'gatsby-plugin-svgr',
options: {
prettier: true, // use prettier to format JS code output (default)
svgo: false // use svgo to optimize SVGs (default)
}
}
},
{
resolve: 'gatsby-source-filesystem',
options: {
path: `${__dirname}/src/assets/images`,
name: 'images'
}
},
'gatsby-transformer-sharp',
'gatsby-plugin-sharp'
]
}
Loading

0 comments on commit f152161

Please sign in to comment.