Setting up CSS style import in Webpack

After installing the loaders, we can use them in the configuration file. Let's do this:

webpack.config.jsexport default {
  entry: './src/index.js',
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: ['style-loader', 'css-loader'],
      },
    ],
  },
};
Задание 1

Make the appropriate settings.