From 88b57111e7bd96954fa23b90921d26ba7ce6cfd5 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Mon, 15 Aug 2022 20:50:33 +0800 Subject: [PATCH] chore: build --- packages/uni-mp-alipay/dist/uni.compiler.js | 2 +- packages/uni-mp-alipay/src/compiler/options.ts | 2 +- packages/uni-mp-baidu/dist/uni.compiler.js | 8 ++++++++ packages/uni-mp-kuaishou/dist/uni.compiler.js | 8 ++++++++ packages/uni-mp-lark/dist/uni.compiler.js | 8 ++++++++ packages/uni-mp-toutiao/dist/uni.compiler.js | 8 ++++++++ 6 files changed, 34 insertions(+), 2 deletions(-) diff --git a/packages/uni-mp-alipay/dist/uni.compiler.js b/packages/uni-mp-alipay/dist/uni.compiler.js index ea103ef76..fff4a5881 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 a74da1f54..5e3c22740 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 1862d553f..568ffbc84 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 1d2c7f658..9c2552c50 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 d40e71027..7ea93cea6 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 aacac0ec8..be6b5211a 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', -- GitLab