From 0a023773fd79340492aeb2359c6c673e81cea54d Mon Sep 17 00:00:00 2001 From: Li Kaifeng <478325758@qq.com> Date: Fri, 28 Oct 2022 20:21:15 +0800 Subject: [PATCH] chore: fix typo (#2010) --- src/pluginWebpack4.ts | 2 +- src/pluginWebpack5.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pluginWebpack4.ts b/src/pluginWebpack4.ts index de9841bb3..7dba433f4 100644 --- a/src/pluginWebpack4.ts +++ b/src/pluginWebpack4.ts @@ -61,7 +61,7 @@ class VueLoaderPlugin implements webpack.Plugin { const vueLoaderOptions = (vueLoaderUse.options = vueLoaderUse.options || {}) as VueLoaderOptions - // 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).map(cloneRule) diff --git a/src/pluginWebpack5.ts b/src/pluginWebpack5.ts index 0ffec99e5..f50dffc7c 100644 --- a/src/pluginWebpack5.ts +++ b/src/pluginWebpack5.ts @@ -165,7 +165,7 @@ class VueLoaderPlugin implements Plugin { const vueLoaderOptions = (vueLoaderUse.options = vueLoaderUse.options || {}) as VueLoaderOptions - // 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 refs = new Map() const clonedRules = rules