swc-plugin-minify-graphql 0.2.0 → 0.3.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 +7 -4
- package/lib/swc_plugin_minify_graphql.wasm +0 -0
- package/package.json +11 -10
package/README.md
CHANGED
|
@@ -6,10 +6,13 @@
|
|
|
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 | used `swc_core` version | potentially compatible `swc_core` versions |
|
|
10
|
-
| -------------: | ----------------------: |
|
|
11
|
-
| `0.
|
|
12
|
-
| `0.
|
|
9
|
+
| plugin version | used `swc_core` version | potentially compatible `swc_core` versions\* |
|
|
10
|
+
| -------------: | ----------------------: | :------------------------------------------- |
|
|
11
|
+
| `0.3` | `43.0.1` | `>=40` |
|
|
12
|
+
| `0.2` | `10.6.1` | `>=10` |
|
|
13
|
+
| `0.1` | `1.0.2` | `>=0.98.0 <10` |
|
|
14
|
+
|
|
15
|
+
\* since this plugin uses a very small part of the API, the compatible version ranges are usually larger
|
|
13
16
|
|
|
14
17
|
## Usage
|
|
15
18
|
|
|
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.3.0",
|
|
4
4
|
"description": "GraphQL query and schema minimizer plugin for SWC",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"swc-plugin",
|
|
@@ -8,15 +8,16 @@
|
|
|
8
8
|
],
|
|
9
9
|
"main": "lib/swc_plugin_minify_graphql.wasm",
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@biomejs/biome": "^
|
|
12
|
-
"@
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
11
|
+
"@biomejs/biome": "^2.2.4",
|
|
12
|
+
"@cspell/dict-en-gb": "^5.0.14",
|
|
13
|
+
"@types/node": "^22.18.6",
|
|
14
|
+
"binaryen": "^124.0.0",
|
|
15
|
+
"cspell": "^9.2.1",
|
|
16
|
+
"dprint": "^0.50.2",
|
|
17
|
+
"git-cliff": "^2.10.1",
|
|
18
|
+
"lefthook": "^1.13.4",
|
|
19
|
+
"npm-run-all2": "^8.0.4",
|
|
20
|
+
"typescript": "^5.9.2"
|
|
20
21
|
},
|
|
21
22
|
"files": [
|
|
22
23
|
"README.md",
|