From 2ac3127e8f2046b967dc95c44f63509b8cfb33b5 Mon Sep 17 00:00:00 2001 From: qiang Date: Mon, 27 Jul 2020 11:01:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DH5=E7=AB=AF=E5=90=AF?= =?UTF-8?q?=E7=94=A8=E6=91=87=E6=A0=91=E4=BC=98=E5=8C=96=E5=90=8Eauido?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=BC=96=E8=AF=91=E5=A4=B1=E8=B4=A5=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20fixed=20#1943?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packages/webpack-optimize-plugin/component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 af46dfa34..ecf714245 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 = ['audio', 'map', 'video', 'web-view', 'cover-view', 'cover-image', 'picker'] +const platformTags = ['map', 'video', 'web-view', 'cover-view', 'cover-image', 'picker'] const autoloadTags = { // input 在 pageHead 中有使用,resize-sensor 在很多组件中有使用,暂时直接加载 @@ -54,5 +54,5 @@ ${componentsStr} fs.mkdirSync(dir) } - fs.writeFileSync(path.resolve(dir, 'components.js'), content, 'utf8') + fs.writeFileSync(path.resolve(dir, 'components.js'), content, 'utf8') } -- GitLab