How TO - CSS Loader code example
Example 1: Install css-loader and style-loader
npm install --save-dev style-loader css-loader
Example 2: css loader
module.exports = {
module: {
rules: [
{
test: /\.css$/i,
use: [
'handlebars-loader', // handlebars loader expects raw resource string
'extract-loader',
'css-loader',
],
},
],
},
};