CSS files are considered modules just like JavaScript files. They can be required using the same CommonJS syntax. The Webpack CSS Loader will create a JavaScript module with the CSS and inject it into the DOM at runtime through the Style Loader.
Get Unlimited Access Now