text: // eslint-disable-next-line @typescript-eslint/no-var-requires
  const path = require('path');
  
  module.exports = {
      entry: './src/index.ts',
      target: 'node',
      module: {
          rules: [
              {
                  test: /\.ts$/,
                  use: 'ts-loader',
                  exclude: /node_modules/,
              },
          ],
      },
      resolve: {
          extensions: ['.ts', '.js'],
      },
      output: {
          path: path.resolve(__dirname, 'dist'),
          filename: 'bundle.js',
      },
  };
  