text: const path = require('path')
  const webpack = require('webpack')
  
  let config = {
    entry: './src/main.tsx',
    output: {
      path: path.resolve(__dirname, 'dist'),
      filename: 'main.js',
      publicPath: '/dist/'
    },
    resolve: {
      extensions: ['.js', '.ts', '.tsx']
    },
    module: {
      rules: [
        {
          test: /\.tsx?/,
          loader: 'ts-loader',
          exclude: [/node_modules/]
        }
      ]
    }
  }
  
  module.exports = config