@lynx-js/react-webpack-plugin 0.7.3 → 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 +6 -0
- package/lib/ReactWebpackPlugin.js +2 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
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
|
+
|
|
3
9
|
## 0.7.3
|
|
4
10
|
|
|
5
11
|
### 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.
|
|
3
|
+
"version": "0.7.4",
|
|
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.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@microsoft/api-extractor": "7.
|
|
41
|
-
"@rspack/core": "1.
|
|
42
|
-
"css-loader": "^7.1.
|
|
43
|
-
"swc-loader": "^0.2.
|
|
44
|
-
"webpack": "^5.
|
|
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
45
|
"@lynx-js/css-extract-webpack-plugin": "0.7.0",
|
|
46
|
-
"@lynx-js/react": "0.
|
|
47
|
-
"@lynx-js/template-webpack-plugin": "0.10.
|
|
46
|
+
"@lynx-js/react": "0.116.3",
|
|
47
|
+
"@lynx-js/template-webpack-plugin": "0.10.3",
|
|
48
48
|
"@lynx-js/test-tools": "0.0.0",
|
|
49
49
|
"@lynx-js/vitest-setup": "0.0.0"
|
|
50
50
|
},
|