text: const { merge } = require('webpack-merge');
  const common = require('./webpack.common.conf');
  const MiniCssExtractPlugin = require('mini-css-extract-plugin');
  
  module.exports = merge(common, {
    mode: 'production',
    module: {
      rules: [
        {
          test: /\.(sa|sc|c)ss$/,
          use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader'],
        },
      ],
    },
    plugins: [
      new MiniCssExtractPlugin({
        linkType: false,
        filename: '[name].[contenthash].css',
        chunkFilename: '[id].[contenthash].css',
      }),
    ],
  });
  