From 4f54e6373a0308bd1e0e0bca467eb91286bed9e9 Mon Sep 17 00:00:00 2001 From: qiang Date: Wed, 18 May 2022 17:02:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(h5):=20=E4=BF=AE=E5=A4=8D=E6=91=87=E6=A0=91?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BC=BA=E5=A4=B1=20view=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packages/webpack-optimize-plugin/component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue-cli-plugin-uni-optimize/packages/webpack-optimize-plugin/component.js b/packages/vue-cli-plugin-uni-optimize/packages/webpack-optimize-plugin/component.js index c90410c82..10446ced6 100644 --- a/packages/vue-cli-plugin-uni-optimize/packages/webpack-optimize-plugin/component.js +++ b/packages/vue-cli-plugin-uni-optimize/packages/webpack-optimize-plugin/component.js @@ -6,7 +6,7 @@ const { capitalize } = require('./util') -const platformTags = ['map', 'video', 'web-view', 'cover-view', 'cover-image', 'picker', 'ad'] +const platformTags = ['map', 'video', 'web-view', 'cover-view', 'cover-image', 'picker', 'ad', 'view'] const autoloadTags = { // input 在 pageHead 中有使用,resize-sensor 在很多组件中有使用,暂时直接加载 -- GitLab