Skip to content

Commit 377a6e4

Browse files
committed
Rollback(mdj): most recent version not compiling correctly
1 parent edff50b commit 377a6e4

26 files changed

+612
-630
lines changed

.vscode/vscode-profile-2021-03-27-17-04-39.cpuprofile

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Netlify Status](https://api.netlify.com/api/v1/badges/58e2b3cb-13d2-4937-9c44-681fb76c7cce/deploy-status)](https://app.netlify.com/sites/rehnert/deploys)
44

5-
<img src="https://github.com/killshot13/my-dev-jamstack/blob/master/static/images/code-develop-engineer-github-repo-image.png">
5+
<img src="https://themes.stackbit.com/images/fresh-demo-1024x768.png" width="600">
66

77
This is a second-generation JAMSTACK, with better performance than even its visionaries could have imagined.
88

gatsby-config.js

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ module.exports = {
66
siteUrl: `https://rehnert.co`,
77
},
88
plugins: [
9+
`gatsby-plugin-advanced-sitemap`,
10+
`gatsby-plugin-react-helmet`,
11+
`gatsby-source-data`,
12+
`gatsby-plugin-sharp`,
913
{
1014
resolve: `gatsby-transformer-remark`,
1115
options: {
@@ -26,31 +30,15 @@ module.exports = {
2630
resolve: `gatsby-source-filesystem`,
2731
options: {
2832
name: `pages`,
29-
path: `${__dirname}/src/pages/`,
33+
path: `${__dirname}/src/pages`,
3034
},
3135
},
32-
{
33-
resolve: `gatsby-source-filesystem`,
34-
options: {
35-
name: `data`,
36-
path: `${__dirname}/src/data/`,
37-
ignore: [`**/\.*`], // ignore files starting with a dot
38-
},
39-
},
40-
{
41-
resolve: `gatsby-plugin-react-helmet`,
42-
options: {},
43-
},
4436
{
4537
resolve: `gatsby-plugin-sass`,
4638
options: {},
4739
},
4840
{
49-
resolve: `gatsby-plugin-sharp`,
50-
options: {},
51-
},
52-
{
53-
resolve: `gatsby-plugin-advanced-sitemap`,
41+
resolve: `gatsby-remark-page-creator`,
5442
options: {},
5543
},
5644
{
@@ -62,16 +50,3 @@ module.exports = {
6250
},
6351
],
6452
}
65-
66-
// In your gatsby-config.js
67-
module.exports = {
68-
plugins: [
69-
// You can have multiple instances of this plugin
70-
// to read source nodes from different locations on your
71-
// filesystem.
72-
//
73-
// The following sets up the Jekyll pattern of having a
74-
// "pages" directory for Markdown files and a "data" directory
75-
// for `.json`, `.yaml`, `.csv`.
76-
],
77-
}

0 commit comments

Comments
 (0)