@lynx-js/react-webpack-plugin 0.6.10 → 0.6.11

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,18 @@
1
1
  # @lynx-js/react-webpack-plugin
2
2
 
3
+ ## 0.6.11
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: fully support MTS ([#569](https://github.com/lynx-family/lynx-stack/pull/569))
8
+
9
+ Now use support the following usage
10
+
11
+ - mainthread event
12
+ - mainthread ref
13
+ - runOnMainThread/runOnBackground
14
+ - ref.current.xx
15
+
3
16
  ## 0.6.10
4
17
 
5
18
  ### Patch Changes
@@ -30,7 +30,7 @@ interface ReactWebpackPluginOptions {
30
30
  */
31
31
  firstScreenSyncTiming?: 'immediately' | 'jsReady';
32
32
  /**
33
- * {@inheritdoc @lynx-dev/react-rsbuild-plugin#PluginReactLynxOptions.enableSSR}
33
+ * {@inheritdoc @lynx-js/react-rsbuild-plugin#PluginReactLynxOptions.enableSSR}
34
34
  */
35
35
  enableSSR?: boolean;
36
36
  /**
@@ -96,7 +96,6 @@ class ReactWebpackPlugin {
96
96
  new EnvironmentPlugin({
97
97
  // Default values of null and undefined behave differently.
98
98
  // Use undefined for variables that must be provided during bundling, or null if they are optional.
99
- NODE_ENV: null,
100
99
  DEBUG: null,
101
100
  }).apply(compiler);
102
101
  new DefinePlugin({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-webpack-plugin",
3
- "version": "0.6.10",
3
+ "version": "0.6.11",
4
4
  "description": "A webpack plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "webpack",
@@ -37,14 +37,14 @@
37
37
  "@lynx-js/webpack-runtime-globals": "0.0.5"
38
38
  },
39
39
  "devDependencies": {
40
- "@microsoft/api-extractor": "7.51.1",
41
- "@rspack/core": "1.3.0-beta.1",
40
+ "@microsoft/api-extractor": "7.52.3",
41
+ "@rspack/core": "1.3.5",
42
42
  "css-loader": "^7.1.2",
43
43
  "swc-loader": "^0.2.6",
44
- "webpack": "^5.98.0",
45
- "@lynx-js/css-extract-webpack-plugin": "0.5.2",
46
- "@lynx-js/react": "0.106.2",
47
- "@lynx-js/template-webpack-plugin": "0.6.7",
44
+ "webpack": "^5.99.5",
45
+ "@lynx-js/css-extract-webpack-plugin": "0.5.3",
46
+ "@lynx-js/react": "0.106.5",
47
+ "@lynx-js/template-webpack-plugin": "0.6.9",
48
48
  "@lynx-js/test-tools": "0.0.0",
49
49
  "@lynx-js/vitest-setup": "0.0.0"
50
50
  },