Skip to content

Commit 063d533

Browse files
authored
feat: support gatsby v5 (#195)
Co-authored-by: Cody Olsen <81981+stipsan@users.noreply.github.com>
1 parent 885ed75 commit 063d533

File tree

14 files changed

+29478
-1247
lines changed

14 files changed

+29478
-1247
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ lib/
55
lib-es5/
66
yarn.lock
77
coverage
8+
.cache
9+
public
10+
.vercel
11+
.vscode

examples/blog/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
legacy-peer-deps=true

examples/blog/gatsby-browser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import './src/styles/global.css'

examples/blog/gatsby-config.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* @type {import('gatsby').GatsbyConfig}
3+
*/
4+
module.exports = {
5+
plugins: [
6+
'gatsby-plugin-postcss',
7+
{
8+
resolve: 'gatsby-source-sanity',
9+
options: {
10+
// https://pv8y60vp.api.sanity.io/v1/graphql/production/default
11+
projectId: 'pv8y60vp',
12+
dataset: 'production',
13+
},
14+
},
15+
`gatsby-plugin-image`,
16+
],
17+
}

0 commit comments

Comments
 (0)