diff --git a/packages/uni-mp-alipay/src/compiler/options.ts b/packages/uni-mp-alipay/src/compiler/options.ts index a57560ffe33fab41fbf6430d08874ab4b6e1d4b4..a74da1f549be07962b6e27266a3eca1b540f4641 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'], + src: ['customize-tab-bar','ext.json'], get dest() { return process.env.UNI_OUTPUT_DIR }, diff --git a/packages/uni-mp-baidu/src/compiler/options.ts b/packages/uni-mp-baidu/src/compiler/options.ts index dcc35c3b2830b26255b85ed5263a9f459eed8757..b94bbb5bb07996b6542b9666998fce07c9ad9df1 100644 --- a/packages/uni-mp-baidu/src/compiler/options.ts +++ b/packages/uni-mp-baidu/src/compiler/options.ts @@ -60,6 +60,14 @@ export const options: UniMiniProgramPluginOptions = { }, 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/src/compiler/options.ts b/packages/uni-mp-kuaishou/src/compiler/options.ts index 713e3aec26f6830fa9b1b8b84efb6fcb01fe7722..a17ac57ef0c55fdcb69fe302330331af44a584b5 100644 --- a/packages/uni-mp-kuaishou/src/compiler/options.ts +++ b/packages/uni-mp-kuaishou/src/compiler/options.ts @@ -51,6 +51,14 @@ export const options: UniMiniProgramPluginOptions = { }, copyOptions: { assets: [COMPONENTS_DIR], + targets: [ + { + src: ['ext.json'], + get dest() { + return process.env.UNI_OUTPUT_DIR + }, + }, + ], }, }, global: 'ks', diff --git a/packages/uni-mp-toutiao/src/compiler/options.ts b/packages/uni-mp-toutiao/src/compiler/options.ts index 272bb4c9ff5cc4407fd00683d09f1f247a1a9c8e..3fe6b894d672687d205f35f18c83c7e4a04d1b1c 100644 --- a/packages/uni-mp-toutiao/src/compiler/options.ts +++ b/packages/uni-mp-toutiao/src/compiler/options.ts @@ -51,6 +51,14 @@ export const options: UniMiniProgramPluginOptions = { }, copyOptions: { assets: [COMPONENTS_DIR], + targets: [ + { + src: ['ext.json'], + get dest() { + return process.env.UNI_OUTPUT_DIR + }, + }, + ], }, }, global: 'tt',