How to CSS with Webpack 5 - Setup Tutorial
If you happen to have a custom Webpack setup, you may be wondering how to set up CSS with Webpack. This short tutorial walks you through the process. First of all, you need to install a CSS loader and a style loader to your dev dependencies: And second, you can use both loaders for all CSS files in your Webpack configuration: Then in a new src…