npm install --save-dev @swc/plugin-styled-components @swc/core
Then update your .swcrc
file like below:
{
"jsc": {
"experimental": {
"plugins": [
[
"@swc/plugin-styled-components",
{
"displayName": true,
"ssr": true
}
]
]
}
}
}
- 4ad7f56: Update swc_core to v5
- ba13397: Update swc_core to v4
- 0508b6d: Update swc_core to v3
- cd5ad2a: Update swc_core to 1.0
- 20162c8: Update swc_core to v0.106.0
- 04548e2: Update swc_core to 0.103.x
- f8e5fd0: Update swc_core to 0.102.x
- 7d17e25: Update swc_core to v0.101.x
- 7391419: Update swc_core to v0.100.0
- 9c28afb: Update swc_core to 0.99.x (@swc/core 1.7.0)
- af25741: Update swc_core to 0.96.0
- 41a8f56: Update swc_core to v0.95.x
- fc30490: Update swc_core to v0.93.0
- 0f38844: Publish all chanages
- 1cc9eda: Update dependencies
- 247cca6: Update rustc to 'nightly-2024-04-16'
- 876bbce: Update swc_core to 0.92.x
- 7f8ff1b: Use template literals
- 71a0922: Fix escape
- 8e91d39: Update swc_core to 0.91.x
- f4df366: Update swc_core
- c88b22b: Align package metadata
- a3cc4fb: Organize pacakge metadata
- e9e78ef: Update swc crates
- 6096d6d: Fix plugin version schema issue
- 37d3aaf: Depend on the swc download counter package
- 8bd92c7: swc_core 0.90.x
- 34f9d21: Fix escaping issue
- 4ef0b7f: Add changelog to the readme
- 4e72680: [email protected]
- 16bb4d8: [email protected]