Skip to content

Commit

Permalink
Various tweaks; disable js
Browse files Browse the repository at this point in the history
  • Loading branch information
SachaG committed Jan 16, 2020
1 parent 733ea0b commit 6d867dc
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 155 deletions.
11 changes: 10 additions & 1 deletion .cache/api-runner-ssr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
var plugins = []
var plugins = [{
plugin: require('/Users/sacha/Dev/sg2017/node_modules/gatsby-plugin-react-helmet/gatsby-ssr'),
options: {"plugins":[]},
},{
plugin: require('/Users/sacha/Dev/sg2017/node_modules/gatsby-plugin-styled-components/gatsby-ssr'),
options: {"plugins":[]},
},{
plugin: require('/Users/sacha/Dev/sg2017/node_modules/gatsby-plugin-no-javascript/gatsby-ssr'),
options: {"plugins":[]},
}]
// During bootstrap, we write requires at top of this file which looks like:
// var plugins = [
// {
Expand Down
1 change: 0 additions & 1 deletion .cache/async-requires.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
const preferDefault = m => m && m.default || m

exports.components = {
"component---cache-dev-404-page-js": () => import("./dev-404-page.js" /* webpackChunkName: "component---cache-dev-404-page-js" */),
"component---src-pages-index-js": () => import("./../src/pages/index.js" /* webpackChunkName: "component---src-pages-index-js" */)
}

44 changes: 40 additions & 4 deletions .cache/babelState.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,67 @@
{
"stages": {
"develop": {
"plugins": [],
"plugins": [
{
"name": "babel-plugin-styled-components",
"stage": "develop",
"options": {
"plugins": [],
"ssr": false
}
}
],
"presets": [],
"options": {
"cacheDirectory": true,
"sourceType": "unambiguous"
}
},
"develop-html": {
"plugins": [],
"plugins": [
{
"name": "babel-plugin-styled-components",
"stage": "develop-html",
"options": {
"plugins": [],
"ssr": false
}
}
],
"presets": [],
"options": {
"cacheDirectory": true,
"sourceType": "unambiguous"
}
},
"build-html": {
"plugins": [],
"plugins": [
{
"name": "babel-plugin-styled-components",
"stage": "build-html",
"options": {
"plugins": [],
"ssr": true
}
}
],
"presets": [],
"options": {
"cacheDirectory": true,
"sourceType": "unambiguous"
}
},
"build-javascript": {
"plugins": [],
"plugins": [
{
"name": "babel-plugin-styled-components",
"stage": "build-javascript",
"options": {
"plugins": [],
"ssr": true
}
}
],
"presets": [],
"options": {
"cacheDirectory": true,
Expand Down
145 changes: 0 additions & 145 deletions .cache/dev-404-page.js

This file was deleted.

Binary file modified .cache/redux.state
Binary file not shown.
1 change: 0 additions & 1 deletion .cache/sync-requires.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const preferDefault = m => m && m.default || m


exports.components = {
"component---cache-dev-404-page-js": hot(preferDefault(require("/Users/sacha/Dev/sg2017/.cache/dev-404-page.js"))),
"component---src-pages-index-js": hot(preferDefault(require("/Users/sacha/Dev/sg2017/src/pages/index.js")))
}

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ node_modules
.gatsby-context.js
.sass-cache/

public/
public/
.cache
6 changes: 4 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ module.exports = {
// path: `${__dirname}/src/translations/`
// }
// },
'gatsby-transformer-remark',
// 'gatsby-transformer-remark',
'gatsby-plugin-react-helmet',
'gatsby-plugin-sass',
'gatsby-plugin-netlify',
'gatsby-plugin-styled-components'
'gatsby-plugin-styled-components',
'gatsby-plugin-no-javascript',
// 'gatsby-plugin-webpack-bundle-analyzer',

]
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"front-matter": "^3.1.0",
"gatsby": "^2.18.22",
"gatsby-plugin-netlify": "^2.1.31",
"gatsby-plugin-no-javascript": "^2.0.5",
"gatsby-plugin-react-helmet": "^3.1.21",
"gatsby-plugin-sass": "^2.1.27",
"gatsby-plugin-styled-components": "^3.1.17",
Expand Down Expand Up @@ -41,6 +42,7 @@
"main": "n/a",
"scripts": {
"build": "gatsby build",
"serve": "gatsby serve",
"deploy": "gatsby build && gh-pages -d public",
"dev": "gatsby develop",
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
1 change: 1 addition & 0 deletions src/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const contents = `
and [Textures.js](https://riccardoscalco.github.io/textures/),
using the [Ego](http://ego-icons.com) icons.
Typeset in [Space Mono](https://fonts.google.com/specimen/Space+Mono).
Hosted with [Netlify](https://www.netlify.com/).
`

const Footer = () =>
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4722,6 +4722,11 @@ gatsby-plugin-netlify@^2.1.31:
lodash "^4.17.15"
webpack-assets-manifest "^3.1.1"

gatsby-plugin-no-javascript@^2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/gatsby-plugin-no-javascript/-/gatsby-plugin-no-javascript-2.0.5.tgz#b30bd412fabeab1663b6c40a3aaeee878acfddea"
integrity sha512-AV8THLpxFH0lOAYxO2bTkyqucp4KxjbF07GSMNnCpmgWp+G88YGhsuWH/Jc+cjoNZl+01MXvMTsmawBWNypxeA==

gatsby-plugin-page-creator@^2.1.38:
version "2.1.38"
resolved "https://registry.yarnpkg.com/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.1.38.tgz#2c78d4baae296b0b3396cad689787a65c0a50585"
Expand Down

0 comments on commit 6d867dc

Please sign in to comment.