From a71a14ff2203fe5e1e8c9c787f1fa0f7fed36965 Mon Sep 17 00:00:00 2001 From: sapphi-red Date: Thu, 5 May 2022 07:54:23 +0900 Subject: [PATCH] fix(plugin-vue): remove duplicated scope query --- packages/plugin-vue/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-vue/src/main.ts b/packages/plugin-vue/src/main.ts index b5ed3dc651da79..773fbf12f2ff47 100644 --- a/packages/plugin-vue/src/main.ts +++ b/packages/plugin-vue/src/main.ts @@ -444,7 +444,7 @@ async function linkSrcToDescriptor( // these are built-in query parameters so should be ignored // if the user happen to add them as attrs -const ignoreList = ['id', 'index', 'src', 'type', 'lang', 'module'] +const ignoreList = ['id', 'index', 'src', 'type', 'lang', 'module', 'scoped'] function attrsToQuery( attrs: SFCBlock['attrs'],