Skip to content

Commit

Permalink
style(cli): fix the linting (on windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis committed Sep 2, 2019
1 parent ceab89b commit 221b258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/__tests__/css.spec.js
Expand Up @@ -45,7 +45,7 @@ const findLoaders = (config, lang, index) => {
throw new Error(`rule not found for ${lang}`)
}
return rule.use.map(({ loader }) => {
const match = loader.match(/([^/]+)-loader/)
const match = loader.match(/([^\\/]+)-loader/)
return match ? match[1] : loader
})
}
Expand Down

0 comments on commit 221b258

Please sign in to comment.