Webpack style-loader vs css-loader
The CSS loader takes a CSS file and returns the CSS with imports and url(…) resolved via webpack’s require functionality: var css = require(“css!./file.css”); // => returns css code from file.css, resolves imports and url(…) It doesn’t actually do anything with the returned CSS. The style loader takes CSS and actually inserts it into the … Read more