@swc/plugin-swc-sdk 12.7.0 → 12.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @swc/plugin-swc-sdk
2
2
 
3
+ ## 12.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d2f9cfa: build: Update swc_core to v65.0.0
8
+
9
+ ## 12.8.0
10
+
11
+ ### Minor Changes
12
+
13
+ - a0fb975: Update swc_core to v61.0.1
14
+
3
15
  ## 12.7.0
4
16
 
5
17
  ### Minor Changes
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @swc/plugin-swc-sdk
2
2
 
3
+ `@swc/plugin-swc-sdk` provides build-time transformations for the `@swc/sdk` package. It supports converting static imports annotated with `/*#__DYNAMIC__*/` into dynamic imports, and applies configured SDK feature-flag transforms.
4
+
3
5
  # Usage
4
6
 
5
7
  .swcrc:
@@ -61,15 +63,19 @@ export function sync() {
61
63
  }
62
64
  ```
63
65
 
64
- ## `markAsPure`
66
+ # @swc/plugin-swc-sdk
65
67
 
66
- ```js
67
- import { markAsPure } from "@swc/sdk";
68
+ ## 12.9.0
68
69
 
69
- markAsPure(() => console.log("This will be removed by the SWC minifier"));
70
- ```
70
+ ### Minor Changes
71
71
 
72
- # @swc/plugin-swc-sdk
72
+ - d2f9cfa: build: Update swc_core to v65.0.0
73
+
74
+ ## 12.8.0
75
+
76
+ ### Minor Changes
77
+
78
+ - a0fb975: Update swc_core to v61.0.1
73
79
 
74
80
  ## 12.7.0
75
81
 
package/README.tmpl.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @swc/plugin-swc-sdk
2
2
 
3
+ `@swc/plugin-swc-sdk` provides build-time transformations for the `@swc/sdk` package. It supports converting static imports annotated with `/*#__DYNAMIC__*/` into dynamic imports, and applies configured SDK feature-flag transforms.
4
+
3
5
  # Usage
4
6
 
5
7
  .swcrc:
@@ -61,12 +63,4 @@ export function sync() {
61
63
  }
62
64
  ```
63
65
 
64
- ## `markAsPure`
65
-
66
- ```js
67
- import { markAsPure } from "@swc/sdk";
68
-
69
- markAsPure(() => console.log("This will be removed by the SWC minifier"));
70
- ```
71
-
72
66
  ${CHANGELOG}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/plugin-swc-sdk",
3
- "version": "12.7.0",
3
+ "version": "12.9.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
Binary file