Skip to content

Commit

Permalink
Babel configuration, fixes hotreload issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyyee committed Sep 5, 2019
1 parent 736a41c commit 30ce7a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .babelrc
@@ -0,0 +1,4 @@
{
"presets": ["next/babel"],
"plugins": [["styled-components", { "ssr": true }]]
}
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -19,5 +19,8 @@
"rebass": "^3.1.0",
"styled-components": "^4.2.0",
"yup": "^0.27.0"
},
"devDependencies": {
"babel-plugin-styled-components": "^1.8.0"
}
}

0 comments on commit 30ce7a2

Please sign in to comment.