@lynx-js/react-webpack-plugin 0.7.2 → 0.7.4

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
  # @lynx-js/react-webpack-plugin
2
2
 
3
+ ## 0.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Remove element api calls alog by default, and only enable it when `__ALOG_ELEMENT_API__` is defined to `true` or environment variable `REACT_ALOG_ELEMENT_API` is set to `true`. ([#2192](https://github.com/lynx-family/lynx-stack/pull/2192))
8
+
9
+ ## 0.7.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Support `@lynx-js/template-webpack-plugin` v0.10.0. ([#1992](https://github.com/lynx-family/lynx-stack/pull/1992))
14
+
3
15
  ## 0.7.2
4
16
 
5
17
  ### Patch Changes
@@ -109,6 +109,8 @@ class ReactWebpackPlugin {
109
109
  ?? compiler.options.mode === 'development'),
110
110
  // User can enable ALog by environment variable `REACT_ALOG=true`
111
111
  __ALOG__: JSON.stringify(Boolean(process.env['REACT_ALOG'])),
112
+ // User can enable ALog of element API calls by environment variable `REACT_ALOG_ELEMENT_API=true`
113
+ __ALOG_ELEMENT_API__: JSON.stringify(Boolean(process.env['REACT_ALOG_ELEMENT_API'])),
112
114
  __EXTRACT_STR__: JSON.stringify(Boolean(options.extractStr)),
113
115
  __FIRST_SCREEN_SYNC_TIMING__: JSON.stringify(options.firstScreenSyncTiming),
114
116
  __ENABLE_SSR__: JSON.stringify(options.enableSSR),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-webpack-plugin",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "description": "A webpack plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "webpack",
@@ -37,19 +37,19 @@
37
37
  "@lynx-js/webpack-runtime-globals": "0.0.6"
38
38
  },
39
39
  "devDependencies": {
40
- "@microsoft/api-extractor": "7.52.15",
41
- "@rspack/core": "1.6.1",
42
- "css-loader": "^7.1.2",
43
- "swc-loader": "^0.2.6",
44
- "webpack": "^5.102.0",
45
- "@lynx-js/react": "0.114.4",
46
- "@lynx-js/template-webpack-plugin": "0.9.1",
40
+ "@microsoft/api-extractor": "7.56.3",
41
+ "@rspack/core": "1.7.6",
42
+ "css-loader": "^7.1.4",
43
+ "swc-loader": "^0.2.7",
44
+ "webpack": "^5.105.2",
45
+ "@lynx-js/css-extract-webpack-plugin": "0.7.0",
46
+ "@lynx-js/react": "0.116.3",
47
+ "@lynx-js/template-webpack-plugin": "0.10.3",
47
48
  "@lynx-js/test-tools": "0.0.0",
48
- "@lynx-js/vitest-setup": "0.0.0",
49
- "@lynx-js/css-extract-webpack-plugin": "0.6.4"
49
+ "@lynx-js/vitest-setup": "0.0.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@lynx-js/template-webpack-plugin": "^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0 || ^0.9.0"
52
+ "@lynx-js/template-webpack-plugin": "^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0"
53
53
  },
54
54
  "peerDependenciesMeta": {
55
55
  "@lynx-js/react": {