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" },