We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceab89b commit abc98bcCopy full SHA for abc98bc
packages/@vue/cli-service/__tests__/css.spec.js
@@ -45,7 +45,7 @@ const findLoaders = (config, lang, index) => {
45
throw new Error(`rule not found for ${lang}`)
46
}
47
return rule.use.map(({ loader }) => {
48
- const match = loader.match(/([^/]+)-loader/)
+ const match = loader.match(/([^\\/]+)-loader/)
49
return match ? match[1] : loader
50
})
51
0 commit comments