Skip to content

Commit

Permalink
test(styled-components): Add a test for a wrong issue (#290)
Browse files Browse the repository at this point in the history
Closes #289
  • Loading branch information
kdy1 authored Apr 27, 2024
1 parent 537b719 commit 6b2422d
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions packages/styled-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @swc/plugin-styled-components

## 2.0.1

### Patch Changes

- 71a0922: Fix escape

## 2.0.0

### Major Changes
Expand Down
6 changes: 6 additions & 0 deletions packages/styled-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ Then update your `.swcrc` file like below:

# @swc/plugin-styled-components

## 2.0.1

### Patch Changes

- 71a0922: Fix escape

## 2.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/styled-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-styled-components",
"version": "2.0.0",
"version": "2.0.1",
"description": "SWC plugin for styled-components",
"main": "swc_plugin_styled_components.wasm",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/styled-components/transform/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ homepage = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
version = "0.96.9"
version = "0.96.10"


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const Div = styled.div`
&::after {
content: "Hello\u0020World!\u{1f64f}";
}
`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"transpileTemplateLiterals": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const Div = styled.div`
&::after {
content: "Hello\u0020World!\u{1f64f}";
}
`;

0 comments on commit 6b2422d

Please sign in to comment.