Allow oneOf inside a module rule
joewestcott opened this issue · comments
I'm getting the error:
Neither "loaders" nor "loader" nor "use" are present inside a module rule:
when I have a rule with a oneOf
more info: https://webpack.js.org/configuration/module/#rule-oneof
Does it output the rule?
It gets to here and throws an error:
universal-webpack/source/loaders.js
Line 142 in 7b7294d
Does it output the rule?
It throws the error before getting to an output.
The output is the error itself.
Post the full error.
It does output the rule along with the error, yes.
The link in my first post contains an example oneOf
rule it also failed on.
The fix is going to take some time
Released version 0.6.0
.
Hey @catamphetamine, Thankyou for this!