@mpxjs/webpack-plugin 2.8.53 → 2.8.54
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.
|
@@ -1795,7 +1795,7 @@ function processRootViewStyleClassHack (el, options, root) {
|
|
|
1795
1795
|
|
|
1796
1796
|
// 有virtualHost情况wx组件注入virtualHost。无virtualHost阿里组件注入root-view。其他跳过。
|
|
1797
1797
|
function getVirtualHostRoot (options, meta) {
|
|
1798
|
-
if (options.isComponent) {
|
|
1798
|
+
if (srcMode === 'wx' && options.isComponent) {
|
|
1799
1799
|
// 处理组件时
|
|
1800
1800
|
if (mode === 'wx' && options.hasVirtualHost) {
|
|
1801
1801
|
// wx组件注入virtualHost配置
|
|
@@ -1810,7 +1810,6 @@ function getVirtualHostRoot (options, meta) {
|
|
|
1810
1810
|
value: `${MPX_ROOT_VIEW} host-${options.moduleId}`
|
|
1811
1811
|
}
|
|
1812
1812
|
])
|
|
1813
|
-
// 添加时间处理
|
|
1814
1813
|
processElement(rootView, rootView, options, meta)
|
|
1815
1814
|
return rootView
|
|
1816
1815
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/webpack-plugin",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.54",
|
|
4
4
|
"description": "mpx compile core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mpx"
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": ">=14.14.0"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "e39ad9b35cdb336f271f424dbfae9cf7688c8d0d"
|
|
85
85
|
}
|