text: const merge = require('webpack-merge');
  const common = require("./webpack.common.js");
  const MiniCssExtractPlugin = require('mini-css-extract-plugin');
  
  module.exports = merge(common, {
      mode: 'production',
      devtool: "source-map",
      module: {
          rules: [
              {
                  test: /\.s[ac]ss$/i,
                  use: [
                      MiniCssExtractPlugin.loader, 
                      'css-loader', 
                      'sass-loader'
                  ]
              }
          ]
      },
      plugins: [
          new MiniCssExtractPlugin({
              filename: '[name].[hash].css',
          })
      ]
  });
  