When I was reading Asset Arrangement I wrote the config manually like this :
module: {
rules: [{
test: /\.css$/,
use: ["css-loader", "style-loader"]
}]
}
The code was invoking an error but I COULD NOT find where's the error Then I figured out that the right arrangement of modules should be :
module: {
rules: [{
test: /\.css$/,
use: ["style-loader", "css-loader"]
}]
}
But the section of Loading CSS did not mention that the order is matter.