From c503322542e45337e65b051baf4cb4599a2c1629 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Sun, 10 Oct 2021 03:29:24 -0500 Subject: [PATCH 01/55] chore: fix typo (#1872) --- lib/plugin-webpack4.js | 2 +- lib/plugin-webpack5.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugin-webpack4.js b/lib/plugin-webpack4.js index a56b5edce..c06aea275 100644 --- a/lib/plugin-webpack4.js +++ b/lib/plugin-webpack4.js @@ -48,7 +48,7 @@ class VueLoaderPlugin { ) } - // get the normlized "use" for vue files + // get the normalized "use" for vue files const vueUse = vueRule.use // get vue-loader options const vueLoaderUseIndex = vueUse.findIndex(u => { diff --git a/lib/plugin-webpack5.js b/lib/plugin-webpack5.js index 38df2431c..02d0642a2 100644 --- a/lib/plugin-webpack5.js +++ b/lib/plugin-webpack5.js @@ -95,7 +95,7 @@ class VueLoaderPlugin { ) } - // get the normlized "use" for vue files + // get the normalized "use" for vue files const vueUse = vueRules.filter(rule => rule.type === 'use').map(rule => rule.value) // get vue-loader options From c1f46604a38fa5e1b58d31d402de8acf25f8eb35 Mon Sep 17 00:00:00 2001 From: jayconscious Date: Sun, 10 Oct 2021 16:30:02 +0800 Subject: [PATCH 02/55] chore: update code comment (#1860) --- lib/plugin-webpack4.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugin-webpack4.js b/lib/plugin-webpack4.js index c06aea275..f05ec4a86 100644 --- a/lib/plugin-webpack4.js +++ b/lib/plugin-webpack4.js @@ -69,7 +69,7 @@ class VueLoaderPlugin { vueLoaderUse.ident = 'vue-loader-options' vueLoaderUse.options = vueLoaderUse.options || {} - // for each user rule (expect the vue rule), create a cloned rule + // for each user rule (except the vue rule), create a cloned rule // that targets the corresponding language blocks in *.vue files. const clonedRules = rules .filter(r => r !== vueRule) From 308715ac560ccbd48d173b1bbf689611e50a7e54 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 10 Jun 2022 22:53:57 +0800 Subject: [PATCH 03/55] feat: compat for vue 2.7, support `