@lynx-js/react-webpack-plugin-canary 0.6.6-canary-20250302-97034edc → 0.6.6

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +11 -20
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,20 +1,11 @@
1
1
  # @lynx-js/react-webpack-plugin
2
2
 
3
- ## 0.6.6-canary-20250302125101-97034edc51f411f2cd1f79f99f1d7b39e5491ca4
3
+ ## 0.6.6
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - 1abf8f0: Be compat with `@lynx-js/react` v0.105.0
8
8
  - 1abf8f0: Improve compilation performance by avoid using `compilation.updateAsset`.
9
- - Updated dependencies [1abf8f0]
10
- - Updated dependencies [1abf8f0]
11
- - Updated dependencies [1abf8f0]
12
- - Updated dependencies [1abf8f0]
13
- - Updated dependencies [1abf8f0]
14
- - Updated dependencies [1abf8f0]
15
- - Updated dependencies [1abf8f0]
16
- - @lynx-js/template-webpack-plugin@0.6.3-canary-20250302125101-97034edc51f411f2cd1f79f99f1d7b39e5491ca4
17
- - @lynx-js/react@0.105.0-canary-20250302125101-97034edc51f411f2cd1f79f99f1d7b39e5491ca4
18
9
 
19
10
  ## 0.6.5
20
11
 
@@ -51,14 +42,14 @@
51
42
  - e8039f2: Add `defineDCE` in plugin options. Often used to define custom macros.
52
43
 
53
44
  ```js
54
- import { pluginReactLynx } from "@lynx-js/react-rsbuild-plugin";
55
- import { defineConfig } from "@lynx-js/rspeedy";
45
+ import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin';
46
+ import { defineConfig } from '@lynx-js/rspeedy';
56
47
 
57
48
  export default defineConfig({
58
49
  plugins: [
59
50
  pluginReactLynx({
60
51
  defineDCE: {
61
- __SOME_FALSE_DEFINE__: "false",
52
+ __SOME_FALSE_DEFINE__: 'false',
62
53
  },
63
54
  }),
64
55
  ],
@@ -70,20 +61,20 @@
70
61
  For example, `import` initialized by dead code will be removed:
71
62
 
72
63
  ```js
73
- import { foo } from "bar";
64
+ import { foo } from 'bar';
74
65
 
75
66
  if (__SOME_FALSE_DEFINE__) {
76
67
  foo();
77
- console.log("dead code");
68
+ console.log('dead code');
78
69
  } else {
79
- console.log("reachable code");
70
+ console.log('reachable code');
80
71
  }
81
72
  ```
82
73
 
83
74
  will be transformed to:
84
75
 
85
76
  ```js
86
- console.log("reachable code");
77
+ console.log('reachable code');
87
78
  ```
88
79
 
89
80
  ## 0.6.0
@@ -93,14 +84,14 @@
93
84
  - a30c83d: Add `compat.removeComponentAttrRegex`.
94
85
 
95
86
  ```js
96
- import { pluginReactLynx } from "@lynx-js/react-rsbuild-plugin";
97
- import { defineConfig } from "@lynx-js/rspeedy";
87
+ import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin';
88
+ import { defineConfig } from '@lynx-js/rspeedy';
98
89
 
99
90
  export default defineConfig({
100
91
  plugins: [
101
92
  pluginReactLynx({
102
93
  compat: {
103
- removeComponentAttrRegex: "YOUR REGEX",
94
+ removeComponentAttrRegex: 'YOUR REGEX',
104
95
  },
105
96
  }),
106
97
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-webpack-plugin-canary",
3
- "version": "0.6.6-canary-20250302-97034edc",
3
+ "version": "0.6.6",
4
4
  "description": "A webpack plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "webpack",
@@ -42,9 +42,9 @@
42
42
  "css-loader": "^7.1.2",
43
43
  "swc-loader": "^0.2.6",
44
44
  "webpack": "^5.98.0",
45
- "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.5.0-canary-20250302-97034edc",
46
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.105.0-canary-20250302-97034edc",
47
- "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.6.3-canary-20250302-97034edc",
45
+ "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.5.0",
46
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.105.0",
47
+ "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.6.3",
48
48
  "@lynx-js/test-tools": "0.0.0",
49
49
  "@lynx-js/vitest-setup": "0.0.0"
50
50
  },