@swc/plugin-swc-magic 1.5.113 → 1.5.114

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,11 @@
1
1
  # @swc/plugin-swc-magic
2
2
 
3
+ ## 1.5.114
4
+
5
+ ### Patch Changes
6
+
7
+ - 4ef0b7f: Add changelog to the readme
8
+
3
9
  ## 1.5.113
4
10
 
5
11
  ### Patch Changes
package/Cargo.toml CHANGED
@@ -5,7 +5,7 @@ edition = "2021"
5
5
  license = "Apache-2.0"
6
6
  name = "swc_plugin_swc_magic"
7
7
  publish = false
8
- version = "0.6.0"
8
+ version = "0.7.0"
9
9
 
10
10
  [lib]
11
11
  crate-type = ["cdylib", "rlib"]
package/README.md CHANGED
@@ -19,3 +19,23 @@ import { markAsPure } from "@swc/magic";
19
19
 
20
20
  markAsPure(() => console.log("This will be removed by the SWC minifier"));
21
21
  ```
22
+
23
+ # @swc/plugin-swc-magic
24
+
25
+ ## 1.5.114
26
+
27
+ ### Patch Changes
28
+
29
+ - 4ef0b7f: Add changelog to the readme
30
+
31
+ ## 1.5.113
32
+
33
+ ### Patch Changes
34
+
35
+ - 4e72680: swc_core@0.88.0
36
+
37
+ ## 1.5.112
38
+
39
+ ### Patch Changes
40
+
41
+ - 16bb4d8: swc_core@0.82.x
package/README.md.tmpl ADDED
@@ -0,0 +1,23 @@
1
+ # @swc/plugin-swc-magic
2
+
3
+ ## Usage
4
+
5
+ .swcrc:
6
+
7
+ ```json
8
+ {
9
+ "jsc": {
10
+ "experimental": {
11
+ "plugins": ["@swc/plugin-swc-magic"]
12
+ }
13
+ }
14
+ }
15
+ ```
16
+
17
+ ```js
18
+ import { markAsPure } from "@swc/magic";
19
+
20
+ markAsPure(() => console.log("This will be removed by the SWC minifier"));
21
+ ```
22
+
23
+ ${CHANGELOG}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/plugin-swc-magic",
3
- "version": "1.5.113",
3
+ "version": "1.5.114",
4
4
  "description": "SWC plugin for swc-magic",
5
5
  "main": "swc_plugin_swc_magic.wasm",
6
6
  "homepage": "https://swc.rs",
Binary file