Skip to content

Latest commit

 

History

History
 
 

styled-components

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@swc/plugin-styled-components

Setup

npm install --save-dev @swc/plugin-styled-components @swc/[email protected]

@swc/[email protected] is required for now

Then update your .swcrc file like below:

{
  "jsc": {
    "experimental": {
      "plugins": [
        [
          "@swc/plugin-styled-components",
          {
            "displayName": true,
            "ssr": true
          }
        ]
      ]
    }
  }
}