From 9148485d3c1b1feafbe0e8c10b1fc6576ad426cb Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Thu, 20 Jan 2022 12:04:55 +0800 Subject: [PATCH] fix(h5): enable wxs when build (question/137832) --- packages/uni-cli-shared/src/vite/features.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/uni-cli-shared/src/vite/features.ts b/packages/uni-cli-shared/src/vite/features.ts index e7372265d..20b5d989d 100644 --- a/packages/uni-cli-shared/src/vite/features.ts +++ b/packages/uni-cli-shared/src/vite/features.ts @@ -186,8 +186,8 @@ function initManifestFeature({ if (command === 'build') { // TODO 需要预编译一遍? - features.wxs = false - features.longpress = false + // features.wxs = false + // features.longpress = false } if ( manifestJson.h5 && -- GitLab