diff --git a/packages/uni-mp-weixin/src/compiler/options.ts b/packages/uni-mp-weixin/src/compiler/options.ts index e67014b0969361c1e2ece43d7a503c7bb51988c6..781a92fb3454eef46700dc836cf74877ece82944 100644 --- a/packages/uni-mp-weixin/src/compiler/options.ts +++ b/packages/uni-mp-weixin/src/compiler/options.ts @@ -101,7 +101,7 @@ export const options: UniMiniProgramPluginOptions = { subpackages: true, plugins: true, normalize(appJson) { - if ((process.env.UNI_MP_UNIAD = true)) { + if (process.env.UNI_MP_UNIAD == true) { uniadAppJson(appJson) } return appJson