text: const path = require('path');
  
  module.exports = {
     entry: './src/index.tsx',
      mode: 'development',
      devtool: 'inline-source-map',
      module: {
          rules: [
              {
                  test: /\.tsx?$/,
                  use: 'ts-loader',
                  exclude: /node_modules/
              },
              {
                  test: /\.css$/,
                  use: ['style-loader', 'css-loader']
              }
          ]
      },
      resolve: {
          extensions: ['.ts', '.tsx', '.js', '.json', '.scss', '.css'],
      },
      output: {
          filename: '[name].bundle.js',
          path: path.resolve(__dirname, 'dist')
      }
  };