Skip to content

Commit

Permalink
fix: set version of swc_common (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
timofei-iatsenko authored Feb 7, 2024
1 parent bdb8af9 commit d23adda
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
17 changes: 9 additions & 8 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ serde = "1"
serde_json = "1.0.95"
regex = "1.7.3"
once_cell = "1.17.1"
swc_common = "=0.33.15"
swc_core = { version = "0.87.28", features = [
"ecma_plugin_transform",
"ecma_utils",
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ So you need to select an appropriate version of the plugin to match compatible `
| `4.0.2` | `0.76.41` | `@swc/core@1.3.58` ~ `@swc/core@1.3.62` <br/> `next@v13.4.3-canary.2` ~ |
| `4.0.3` | `0.78.28` | `@swc/core@1.3.63` ~ `@swc/core@1.3.67` <br/> `next@v13.4.8 ~ next@v13.4.10-canary.0` |
| `4.0.4` | `0.79.x` | `@swc/core@1.3.68` ~ `@swc/core@1.3.80` <br/> `next@v13.4.10-canary.1` ~ |
| `4.0.5` | `0.87.x` | `@swc/core@1.3.81 ~ @swc/core@1.3.105` <br /> `~ next@v14.1.0` |
| `4.0.5` | `0.87.x` | broken due incorrect version of `swc_common` |
| `4.0.6` | `0.87.x` | `@swc/core@1.3.81 ~ @swc/core@1.3.105` <br /> `~ next@v14.1.0` |

This table may become outdated. If you don't see a particular version of `@swc/core` or `next` check the compatibility by referring to the upstream's [Selecting the version](https://swc.rs/docs/plugin/selecting-swc-core) article.
This will help you select the appropriate plugin version for your project.
Expand Down

0 comments on commit d23adda

Please sign in to comment.