From 47cb9a730b0ce0b58238530d91e5f037bb52d938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E5=91=98=E5=B0=8F=E5=A2=A8?= <2291200076@qq.com> Date: Sat, 26 Nov 2022 22:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=89=93=E5=8C=85=E6=97=B6?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E5=9B=BE=E7=89=87=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- miniprogram/config/index.js | 1 + miniprogram/project.alipay.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/miniprogram/config/index.js b/miniprogram/config/index.js index 0671a96..4d0eed5 100644 --- a/miniprogram/config/index.js +++ b/miniprogram/config/index.js @@ -14,6 +14,7 @@ const config = { }, copy: { patterns: [ + { from: 'src/image/', to: 'dist/image/', ignore: ['*.js'] }, // 指定需要 copy 的目录 ], options: { } diff --git a/miniprogram/project.alipay.json b/miniprogram/project.alipay.json index 50d5152..6cfcd21 100644 --- a/miniprogram/project.alipay.json +++ b/miniprogram/project.alipay.json @@ -1,5 +1,5 @@ { "enableAppxNg": true, - "enableNodeModuleBabelTransform": false, + "enableNodeModuleBabelTransform": true, "miniprogramRoot": "./" }