swc-plugin-minify-graphql 0.1.4 → 0.2.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 +4 -3
- package/lib/swc_plugin_minify_graphql.wasm +0 -0
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -6,9 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
Since WASM plugins are not backward compatible (see [swc-project/swc#5060][swc-wasm-compat-issue], [Selecting the version - SWC][selecting-swc-core]), use the table below to select the correct plugin version:
|
|
8
8
|
|
|
9
|
-
| plugin version |
|
|
10
|
-
|
|
|
11
|
-
|
|
|
9
|
+
| plugin version | used `swc_core` version | potentially compatible `swc_core` versions |
|
|
10
|
+
| -------------: | ----------------------: | :----------------------------------------- |
|
|
11
|
+
| `0.2` | `10.6.1` | `>=10` |
|
|
12
|
+
| `0.1` | `1.0.2` | `>=0.98.0 <10` |
|
|
12
13
|
|
|
13
14
|
## Usage
|
|
14
15
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "swc-plugin-minify-graphql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "GraphQL query and schema minimizer plugin for SWC",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"swc-plugin",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"main": "lib/swc_plugin_minify_graphql.wasm",
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@biomejs/biome": "^1.9.4",
|
|
12
|
-
"@types/node": "^22.
|
|
13
|
-
"binaryen": "^
|
|
14
|
-
"cspell": "^8.
|
|
15
|
-
"dprint": "^0.
|
|
16
|
-
"git-cliff": "^2.
|
|
17
|
-
"lefthook": "^1.
|
|
18
|
-
"npm-run-all2": "^7.0.
|
|
19
|
-
"typescript": "^5.
|
|
12
|
+
"@types/node": "^22.10.7",
|
|
13
|
+
"binaryen": "^121.0.0",
|
|
14
|
+
"cspell": "^8.17.2",
|
|
15
|
+
"dprint": "^0.48.0",
|
|
16
|
+
"git-cliff": "^2.7.0",
|
|
17
|
+
"lefthook": "^1.10.10",
|
|
18
|
+
"npm-run-all2": "^7.0.2",
|
|
19
|
+
"typescript": "^5.7.3"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
22
|
"README.md",
|