text: const path = require('path');
  const BundleAnalyzerPlugin = require('webpack-bundle-analyzer')
    .BundleAnalyzerPlugin;
  
  module.exports = {
    mode: 'production',
    devtool: 'source-map',
    entry: './src/composited-card.component.ts',
    output: {
      filename: 'composited-card.packed.js',
      path: path.resolve(__dirname, 'dist'),
      publicPath: '/',
    },
    resolve: {
      extensions: ['.js', '.ts', '.css'],
    },
    module: {
      rules: [
        {
          test: /\.tsx?$/,
          use: 'ts-loader',
          exclude: /node_modules/,
        },
        {
          test: /\.css$/i,
          use: ['style-loader', 'css-loader'],
        },
        {
          test: /\.(woff2|woff|png|webp)$/i,
          use: [
            {
              loader: 'url-loader',
            },
          ],
        },
      ],
    },
  };
  