@cloudbase/lowcode-builder 1.8.81 → 1.8.82
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/lib/builder/core/index.js +1 -109
- package/lib/builder.web.js +2 -2
- package/package.json +1 -1
|
@@ -59,115 +59,7 @@ exports.buildWedaConfig = buildWedaConfig;
|
|
|
59
59
|
async function buildWedaApp({ cals, subAppCalsList: _subAppCalsList = [], dependencies = [], appKey = 'test', runtime = types_1.RUNTIME.NONE, ignoreInstall = false, buildTypeList = [common_1.BuildType.WEB], mode = common_1.WebpackModeType.PRODUCTION, devTool = 'webpack', deployOptions = { mode: types_1.DEPLOY_MODE.PREVIEW }, generateMpType = common_1.GenerateMpType.APP, plugins = [], extraData = {
|
|
60
60
|
isComposite: false,
|
|
61
61
|
compProps: {},
|
|
62
|
-
}, resourceAppId = undefined, domain = '', output, isBrowserMpBuilder = false, cdnEndpoints, isPrivateMode = false, endpointType = undefined, enableExpiredTag = false, enableAd = false, account = {}, mpConfig = {
|
|
63
|
-
projectConfigJson: {
|
|
64
|
-
wedaRoot: '$weda_root',
|
|
65
|
-
miniprogramRoot: 'miniprogram/',
|
|
66
|
-
cloudfunctionRoot: 'cloudfunctions/',
|
|
67
|
-
setting: {
|
|
68
|
-
urlCheck: true,
|
|
69
|
-
es6: true,
|
|
70
|
-
enhance: true,
|
|
71
|
-
postcss: true,
|
|
72
|
-
preloadBackgroundData: false,
|
|
73
|
-
minified: true,
|
|
74
|
-
newFeature: true,
|
|
75
|
-
coverView: true,
|
|
76
|
-
nodeModules: false,
|
|
77
|
-
autoAudits: false,
|
|
78
|
-
showShadowRootInWxmlPanel: true,
|
|
79
|
-
scopeDataCheck: false,
|
|
80
|
-
uglifyFileName: false,
|
|
81
|
-
checkInvalidKey: true,
|
|
82
|
-
checkSiteMap: true,
|
|
83
|
-
uploadWithSourceMap: true,
|
|
84
|
-
compileHotReLoad: false,
|
|
85
|
-
useMultiFrameRuntime: true,
|
|
86
|
-
useApiHook: true,
|
|
87
|
-
useApiHostProcess: true,
|
|
88
|
-
babelSetting: {
|
|
89
|
-
ignore: [],
|
|
90
|
-
disablePlugins: [],
|
|
91
|
-
outputPath: '',
|
|
92
|
-
},
|
|
93
|
-
enableEngineNative: false,
|
|
94
|
-
useIsolateContext: true,
|
|
95
|
-
useCompilerModule: true,
|
|
96
|
-
userConfirmedUseCompilerModuleSwitch: false,
|
|
97
|
-
userConfirmedBundleSwitch: false,
|
|
98
|
-
packNpmManually: false,
|
|
99
|
-
packNpmRelationList: [
|
|
100
|
-
{
|
|
101
|
-
packageJsonPath: 'miniprogram/$weda_root/package.json',
|
|
102
|
-
miniprogramNpmDistDir: '232miniprogram/$weda_root',
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
packageJsonPath: 'miniprogram/$weda_root/packages/$wd_system/package.json',
|
|
106
|
-
miniprogramNpmDistDir: '2323miniprogram/$weda_root/packages/$wd_system',
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
packageJsonPath: '111$weda_root/package.json',
|
|
110
|
-
miniprogramNpmDistDir: '$weda_root',
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
packageJsonPath: '/$weda_root/packages/$wd_system/package.json',
|
|
114
|
-
miniprogramNpmDistDir: '$weda_root/packages/$wd_system',
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
minifyWXSS: true,
|
|
118
|
-
},
|
|
119
|
-
appid: 'wxcf5102ada68a7ac9',
|
|
120
|
-
projectname: 'quickstart-wx-cloud',
|
|
121
|
-
libVersion: '2.20.1',
|
|
122
|
-
cloudfunctionTemplateRoot: 'cloudfunctionTemplate/',
|
|
123
|
-
condition: {
|
|
124
|
-
search: {
|
|
125
|
-
list: [],
|
|
126
|
-
},
|
|
127
|
-
conversation: {
|
|
128
|
-
list: [],
|
|
129
|
-
},
|
|
130
|
-
plugin: {
|
|
131
|
-
list: [],
|
|
132
|
-
},
|
|
133
|
-
game: {
|
|
134
|
-
list: [],
|
|
135
|
-
},
|
|
136
|
-
miniprogram: {
|
|
137
|
-
list: [
|
|
138
|
-
{
|
|
139
|
-
id: -1,
|
|
140
|
-
name: 'db guide',
|
|
141
|
-
pathName: 'pages/databaseGuide/databaseGuide',
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
},
|
|
145
|
-
},
|
|
146
|
-
compileType: 'miniprogram',
|
|
147
|
-
srcMiniprogramRoot: 'miniprogram/',
|
|
148
|
-
packOptions: {
|
|
149
|
-
ignore: [],
|
|
150
|
-
include: [],
|
|
151
|
-
},
|
|
152
|
-
editorSetting: {
|
|
153
|
-
tabIndent: 'auto',
|
|
154
|
-
tabSize: 2,
|
|
155
|
-
},
|
|
156
|
-
},
|
|
157
|
-
appJson: {
|
|
158
|
-
pages: [],
|
|
159
|
-
window: {
|
|
160
|
-
backgroundColor: '#F6F6F6',
|
|
161
|
-
backgroundTextStyle: 'light',
|
|
162
|
-
navigationBarBackgroundColor: '#F6F6F6',
|
|
163
|
-
navigationBarTitleText: '云开发 QuickStart',
|
|
164
|
-
navigationBarTextStyle: 'black',
|
|
165
|
-
},
|
|
166
|
-
sitemapLocation: 'sitemap.json',
|
|
167
|
-
style: 'v2',
|
|
168
|
-
lazyCodeLoading: 'requiredComponents',
|
|
169
|
-
},
|
|
170
|
-
}, }, cb) {
|
|
62
|
+
}, resourceAppId = undefined, domain = '', output, isBrowserMpBuilder = false, cdnEndpoints, isPrivateMode = false, endpointType = undefined, enableExpiredTag = false, enableAd = false, account = {}, mpConfig = {}, }, cb) {
|
|
171
63
|
var _a, _b, _c, _d, _e, _f;
|
|
172
64
|
if (!cals) {
|
|
173
65
|
console.error('无效的应用配置');
|