Last active
May 22, 2021 09:14
-
-
Save hrdtbs/a6b3b25a93cb773482f3b47ddaed90dc to your computer and use it in GitHub Desktop.
nextjs, styled-jsx with post-css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"presets": [ | |
[ | |
"next/babel", | |
{ | |
"styled-jsx": { | |
"plugins": ["styled-jsx-plugin-postcss"] | |
} | |
} | |
] | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": { | |
"postcss-nested": "^4.1.0", | |
"styled-jsx-plugin-postcss": "^0.1.3" | |
}, | |
"postcss": { | |
"plugins": { | |
"postcss-nested": {} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for your sharing