styled components extract css code example
Example 1: styled components webpack config
module.exports = {
presets: ['@expo/next-adapter/babel'],
+ plugins: [['styled-components', { 'ssr': true }]]
};
Example 2: styled components webpack config
yarn add -D babel-plugin-styled-components