Skip to content

Commit

Permalink
feat: 增加uniCloud服务商
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangyaqi committed May 7, 2024
1 parent 3d58b9a commit 92df187
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vue-cli-plugin-uni/lib/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ if (!process.env.UNI_CLOUD_PROVIDER && process.env.UNI_CLOUD_SPACES) {
}
switch (space.provider) {
case 'aliyun':
case 'dcloud':
return {
provider: space.provider || 'aliyun',
spaceName: space.name,
Expand Down Expand Up @@ -636,4 +637,4 @@ runByHBuilderX && console.log(uniI18n.__('compiling'))

module.exports = {
manifestPlatformOptions: platformOptions
}
}
2 changes: 2 additions & 0 deletions packages/vue-cli-plugin-uni/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ module.exports = {
path.resolve(process.env.UNI_INPUT_DIR, 'unpackage'),
path.resolve(process.env.UNI_INPUT_DIR, 'uniCloud-aliyun'),
path.resolve(process.env.UNI_INPUT_DIR, 'uniCloud-tcb'),
path.resolve(process.env.UNI_INPUT_DIR, 'uniCloud-alipay'),
path.resolve(process.env.UNI_INPUT_DIR, 'uniCloud-dcloud'),
path.resolve(process.env.UNI_INPUT_DIR, 'cloudfunctions-aliyun'),
path.resolve(process.env.UNI_INPUT_DIR, 'cloudfunctions-tcb')
]
Expand Down

0 comments on commit 92df187

Please sign in to comment.