Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Style components server-side in production.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmccrea committed Sep 22, 2020
1 parent 8e474d8 commit 97750ef
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 9 deletions.
3 changes: 1 addition & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ module.exports = {
githubUrl: `https://github.com/nmccrea/recursor`,
},
plugins: [
// Enable TypeScript.
`gatsby-plugin-typescript`,
// Allow aboslute imports.
`gatsby-plugin-styled-components`,
`gatsby-plugin-resolve-src`,
`gatsby-plugin-react-helmet`,
{
Expand Down
49 changes: 42 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"version": "0.1.0",
"author": "Nick McCrea <[email protected]>",
"dependencies": {
"babel-plugin-styled-components": "^1.11.1",
"gatsby": "^2.24.11",
"gatsby-image": "^2.4.13",
"gatsby-plugin-manifest": "^2.4.21",
"gatsby-plugin-offline": "^3.2.21",
"gatsby-plugin-react-helmet": "^3.3.10",
"gatsby-plugin-resolve-src": "^2.1.0",
"gatsby-plugin-sharp": "^2.6.22",
"gatsby-plugin-styled-components": "^3.3.11",
"gatsby-source-filesystem": "^2.3.23",
"gatsby-transformer-sharp": "^2.5.11",
"react": "^16.13.1",
Expand Down

0 comments on commit 97750ef

Please sign in to comment.