I think we as developers (or <insert position title here>) want so strongly to use or learn something new that we choose the solution and apply it to the next “victim” project that comes up. Most of us probably know that we should not do this, but in reality, we may not step back to think…
first use ‘css-loader’ to compile those and then use ‘style-loader’ on the output of css-loader. Note, the order in which webpack applies loaders on the matching resources is from last to f…y, first use ‘css-loader’ to compile those and then use ‘style-loader’ on the output of css-loader. Note, the order in which webpack applies loaders on the matching resources is from last to first.’