@lingui/swc-plugin 4.0.0-next.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -79,6 +79,27 @@ module.exports = nextConfig;
|
|
|
79
79
|
> **Note**
|
|
80
80
|
> Consult with full working example for NextJS in the `/examples` folder in this repo.
|
|
81
81
|
|
|
82
|
+
|
|
83
|
+
## Compatibility
|
|
84
|
+
SWC Plugin support is still experimental. They do not guarantee a semver backwards compatibility between different `swc-core` versions.
|
|
85
|
+
|
|
86
|
+
So you need to select an appropriate version of the plugin to match compatible `swc_core`.
|
|
87
|
+
|
|
88
|
+
| Plugin Version | used `swc_core` | Compatibility |
|
|
89
|
+
|------------------------------------------|-----------------|-----------------------------------------------------------------------------------------------|
|
|
90
|
+
| `0.1.0`, `4.0.0-next.0` | `0.52.8` | `next@13.0.0` ~ `next@13.2.3` |
|
|
91
|
+
| `0.2.*`, `4.0.0-next.1` ~ `4.0.0-next.3` | `0.56.1` | `@swc/core@1.3.29` ~ `@swc/core@1.3.37` <br/> `next@13.2.4-canary.0` ~ `next@13.2.5-canary.5` |
|
|
92
|
+
| `0.3.*`, `4.0.0` | `0.75.33` | `@swc/core@1.3.49 ~` <br/> `v13.3.1-canary.12` ~ | |
|
|
93
|
+
|
|
94
|
+
Please also see the [Selecting the version](https://swc.rs/docs/plugin/selecting-swc-core) article to choose the right version of a plugin for your project.
|
|
95
|
+
|
|
96
|
+
> **Note**
|
|
97
|
+
> next `v13.2.4` ~ `v13.3.1` cannot execute SWC Wasm plugins, due to a [bug of next-swc](https://github.com/vercel/next.js/issues/46989#issuecomment-1486989081).
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
- Version `0.1.0` ~ `0.*` compatible with `@lingui/core@3.*`
|
|
101
|
+
- Version `4.*` compatible with `@lingui/core@4.*`
|
|
102
|
+
|
|
82
103
|
## License
|
|
83
104
|
|
|
84
105
|
The project is licensed under the [MIT](https://github.com/lingui/swc-plugin/blob/main/LICENSE) license.
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/swc-plugin",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "A SWC Plugin for LinguiJS",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Timofei Iatsenko",
|
|
7
|
-
"email": "
|
|
7
|
+
"email": "timiatsenko@gmail.com"
|
|
8
8
|
},
|
|
9
9
|
"repository": "lingui/swc-plugin",
|
|
10
10
|
"bugs": "https://github.com/lingui/swc-plugin/issues",
|
|
Binary file
|