From 1a56f378797ca46fd03a1e99eced5c383c9b42bf Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 18 May 2023 18:02:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9vue=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8D=E5=86=99script=E6=A0=87=E7=AD=BE=E7=9A=84=E5=9C=BA?= =?UTF-8?q?=E6=99=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/compile-vue.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compile-vue.js b/lib/compile-vue.js index c37f410..8244f69 100644 --- a/lib/compile-vue.js +++ b/lib/compile-vue.js @@ -309,7 +309,7 @@ export function compileVue(file, imports, options = {}) { }) .join(' ') - js = js ? js[1] : '' + js = js ? js[1] : 'export default {}' try { html = compile(html[1], { diff --git a/package.json b/package.json index fcec76d..0452c01 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fite", "type": "module", - "version": "1.1.1", + "version": "1.1.2", "bin": { "fite": "index.js" },