From 385ffa0d3896b0f439f36800a21c5d540ef8f5c0 Mon Sep 17 00:00:00 2001 From: rfox12 <33066940+rfox12@users.noreply.github.com> Date: Wed, 3 Nov 2021 15:36:33 -0400 Subject: [PATCH] Continue looking for vue rule if not the first rule encountered I believe "continue" was intended here instead of "break". Unless there is a good reason the vue rule should be the first non-enforce rule. https://githubmemory.com/repo/vuejs/vue-loader/issues/1826 --- lib/plugin-webpack5.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugin-webpack5.js b/lib/plugin-webpack5.js index 02d0642a2..b690aa513 100644 --- a/lib/plugin-webpack5.js +++ b/lib/plugin-webpack5.js @@ -85,7 +85,7 @@ class VueLoaderPlugin { ) } rawVueRules = rawRule - break + continue } } if (!vueRules.length) {