From 65e249dcc9750ad929463d5a268c947467e96b25 Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 17 Feb 2023 16:41:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BE=9D=E8=B5=96=E8=A7=A3?= =?UTF-8?q?=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/compile-vue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compile-vue.js b/lib/compile-vue.js index 2f1615e..f041fe2 100644 --- a/lib/compile-vue.js +++ b/lib/compile-vue.js @@ -91,7 +91,7 @@ export function parseJs( return ( code .replace( - /import (.*?) from (["'])(.*?)\2/g, + /import ([\w\W]*?) from (["'])(.*?)\2/g, function (m, alias, q, name) { if (name.startsWith('@/')) { name = name.replace('@/', '/assets/js/')