@cloudbase/lowcode-builder 1.10.19 → 1.10.21
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/lowcode-builder",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.21",
|
|
4
4
|
"description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
|
|
5
5
|
"author": "yhsunshining@gmail.com",
|
|
6
6
|
"homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
crossorigin="anonymous"
|
|
529
529
|
src="<%=
|
|
530
530
|
cdnEndpoints.cdngo
|
|
531
|
-
%>/lcap/lcap-resource-cdngo/-/release/_npm/@cloudbase/weda-cloud-sdk@1.0.
|
|
531
|
+
%>/lcap/lcap-resource-cdngo/-/release/_npm/@cloudbase/weda-cloud-sdk@1.0.106/dist/h5.browser.js"
|
|
532
532
|
></script>
|
|
533
533
|
<script
|
|
534
534
|
crossorigin
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
crossorigin
|
|
558
558
|
src="<%=
|
|
559
559
|
cdnEndpoints.cdngo
|
|
560
|
-
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.
|
|
560
|
+
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.aa46c4bdbdd37a4c554a.bundle.js"
|
|
561
561
|
></script>
|
|
562
562
|
</body>
|
|
563
563
|
</html>
|
|
@@ -100,10 +100,14 @@ module.exports = function (options) {
|
|
|
100
100
|
}),
|
|
101
101
|
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
|
|
102
102
|
new webpack.NormalModuleReplacementPlugin(
|
|
103
|
-
/@\/components\/(?!ui)(.*)
|
|
103
|
+
/@\/components\/(?!ui)(.*)|^@\/components$/, // 使用否定前瞻匹配除ui外的所有路径
|
|
104
104
|
function (resource) {
|
|
105
|
-
if (
|
|
106
|
-
|
|
105
|
+
if (/lowcode\/(pages|components)/.test(resource.context)) {
|
|
106
|
+
if (/\@\/components\/(.*)/.test(resource.request)) {
|
|
107
|
+
resource.request = resource.request.replace(/\@\/components\/(.*)/, '@/lowcode/components/$1');
|
|
108
|
+
} else if (resource.request === '@/components') {
|
|
109
|
+
resource.request = '@/lowcode/components/index';
|
|
110
|
+
}
|
|
107
111
|
}
|
|
108
112
|
},
|
|
109
113
|
),
|