Skip to content

Commit a37d5ba

Browse files
committed
chore: bail out early for oneOf
1 parent 2be5507 commit a37d5ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: lib/plugin.js

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ module.exports = class VueLoaderPlugin {
2525
)
2626
}
2727

28+
if (vueRule.oneOf) {
29+
throw new Error(
30+
`vue-loader 15 currently does not support vue rules with oneOf.`
31+
)
32+
}
33+
2834
// find the normalized version of the vue rule
2935
const normalizedVueRule = rawNormalizedRules[vueRuleIndex]
3036
// get the normlized "use" for vue files

0 commit comments

Comments
 (0)