When I have a loader configuration with multiple tests matching a file, I would expect only the first matching loader to be used but that doesn\'t seem to be the case.
{ test: /\.css$/, loaders: ['style'], }, { test: /\.css$/, loaders: ['css'], },
and
{ test: /\.css$/, loaders: ['style', 'css'], },
appear to be equal. In function terms, this is the same as style(css(file)) (thanks Miguel).
style(css(file))
Note that within loaders they are evaluated from right to left.
loaders