diff --git a/examples/with-styled-components/.babelrc b/examples/with-styled-components/.babelrc index d1cdb4a8..6c404b65 100644 --- a/examples/with-styled-components/.babelrc +++ b/examples/with-styled-components/.babelrc @@ -3,13 +3,6 @@ "next/babel" ], "plugins": [ - [ - "babel-plugin-styled-components", - { - "ssr": true, - "displayName": true, - "preprocess": false - } - ] + "styled-components" ] } diff --git a/examples/with-styled-components/package.json b/examples/with-styled-components/package.json index 6a276326..ec6db02a 100644 --- a/examples/with-styled-components/package.json +++ b/examples/with-styled-components/package.json @@ -10,10 +10,10 @@ "next": "latest", "react": "^16.0.0", "react-dom": "^16.0.0", - "styled-components": "^2.1.0" + "styled-components": "^3.4.9" }, "devDependencies": { - "babel-plugin-styled-components": "^1.1.5" + "babel-plugin-styled-components": "^1.8.0" }, "license": "ISC" }