Commit a37d5ba5 authored by Evan You's avatar Evan You

chore: bail out early for oneOf

parent 2be55078
...@@ -25,6 +25,12 @@ module.exports = class VueLoaderPlugin { ...@@ -25,6 +25,12 @@ module.exports = class VueLoaderPlugin {
) )
} }
if (vueRule.oneOf) {
throw new Error(
`vue-loader 15 currently does not support vue rules with oneOf.`
)
}
// find the normalized version of the vue rule // find the normalized version of the vue rule
const normalizedVueRule = rawNormalizedRules[vueRuleIndex] const normalizedVueRule = rawNormalizedRules[vueRuleIndex]
// get the normlized "use" for vue files // get the normlized "use" for vue files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment