diff --git a/packages/uni-mp-alipay/dist/uni.compiler.js b/packages/uni-mp-alipay/dist/uni.compiler.js index ea103ef761ca3d52f97d4308c57b7cab26250e89..fff4a58812233a681dcbcbc3a100e4d1955aadf4 100644 --- a/packages/uni-mp-alipay/dist/uni.compiler.js +++ b/packages/uni-mp-alipay/dist/uni.compiler.js @@ -189,7 +189,7 @@ const options = { targets: [ ...(process.env.UNI_MP_PLUGIN ? [uniCliShared.copyMiniProgramPluginJson] : []), { - src: ['customize-tab-bar'], + src: ['customize-tab-bar', 'ext.json'], get dest() { return process.env.UNI_OUTPUT_DIR; }, diff --git a/packages/uni-mp-alipay/src/compiler/options.ts b/packages/uni-mp-alipay/src/compiler/options.ts index a74da1f549be07962b6e27266a3eca1b540f4641..5e3c22740dee674825cf3e8c6a2c7bf105e29611 100644 --- a/packages/uni-mp-alipay/src/compiler/options.ts +++ b/packages/uni-mp-alipay/src/compiler/options.ts @@ -70,7 +70,7 @@ export const options: UniMiniProgramPluginOptions = { targets: [ ...(process.env.UNI_MP_PLUGIN ? [copyMiniProgramPluginJson] : []), { - src: ['customize-tab-bar','ext.json'], + src: ['customize-tab-bar', 'ext.json'], get dest() { return process.env.UNI_OUTPUT_DIR }, diff --git a/packages/uni-mp-baidu/dist/uni.compiler.js b/packages/uni-mp-baidu/dist/uni.compiler.js index 1862d553fda720107406bec257af72e799829040..568ffbc84c511e22ca65bc2358f592220cde00a2 100644 --- a/packages/uni-mp-baidu/dist/uni.compiler.js +++ b/packages/uni-mp-baidu/dist/uni.compiler.js @@ -109,6 +109,14 @@ const options = { }, copyOptions: { assets: [COMPONENTS_DIR], + targets: [ + { + src: ['ext.json'], + get dest() { + return process.env.UNI_OUTPUT_DIR; + }, + }, + ], }, }, global: 'swan', diff --git a/packages/uni-mp-kuaishou/dist/uni.compiler.js b/packages/uni-mp-kuaishou/dist/uni.compiler.js index 1d2c7f658384278f2b288df804360faa2a8ea06c..9c2552c5082284ee2a8ba4853d050f1b1428bae3 100644 --- a/packages/uni-mp-kuaishou/dist/uni.compiler.js +++ b/packages/uni-mp-kuaishou/dist/uni.compiler.js @@ -166,6 +166,14 @@ const options = { }, copyOptions: { assets: [COMPONENTS_DIR], + targets: [ + { + src: ['ext.json'], + get dest() { + return process.env.UNI_OUTPUT_DIR; + }, + }, + ], }, }, global: 'ks', diff --git a/packages/uni-mp-lark/dist/uni.compiler.js b/packages/uni-mp-lark/dist/uni.compiler.js index d40e71027078a6d037a9ad7b63e9cdba1d5dec5b..7ea93cea65d9ab2aa897d3d551843370111a4d2d 100644 --- a/packages/uni-mp-lark/dist/uni.compiler.js +++ b/packages/uni-mp-lark/dist/uni.compiler.js @@ -98,6 +98,14 @@ const options = { }, copyOptions: { assets: [COMPONENTS_DIR], + targets: [ + { + src: ['ext.json'], + get dest() { + return process.env.UNI_OUTPUT_DIR; + }, + }, + ], }, }, global: 'tt', diff --git a/packages/uni-mp-toutiao/dist/uni.compiler.js b/packages/uni-mp-toutiao/dist/uni.compiler.js index aacac0ec83f8986038dae6a30d8c2f370b5083f4..be6b5211af889dee9e612e0546d7af4eb4ae6aac 100644 --- a/packages/uni-mp-toutiao/dist/uni.compiler.js +++ b/packages/uni-mp-toutiao/dist/uni.compiler.js @@ -98,6 +98,14 @@ const options = { }, copyOptions: { assets: [COMPONENTS_DIR], + targets: [ + { + src: ['ext.json'], + get dest() { + return process.env.UNI_OUTPUT_DIR; + }, + }, + ], }, }, global: 'tt',