swc_plugin_styled_components

Crates.ioswc_plugin_styled_components
lib.rsswc_plugin_styled_components
version0.34.2
sourcesrc
created_at2021-10-27 07:43:40.24025
updated_at2022-10-24 13:27:51.103069
descriptionstyled-components plugin for https://swc.rs
homepage
repository
max_upload_size
id472835
size3,931
SWC Bot (swc-bot)

documentation

README

@swc/plugin-styled-components

Setup

npm install --save-dev @swc/plugin-styled-components @swc/core@1.2.215

@swc/core@1.2.215 is required for now

Then update your .swcrc file like below:

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

cargo fmt