text: module.exports = {
    entry: "./index.ts",
    mode: "development",
    module: {
      rules: [
        {
          test: /\.tsx?$/,
          use: "ts-loader",
          exclude: /node_modules/
        },
        { test: /\.handlebars$/, loader: "handlebars-loader" }
      ]
    },
    resolve: {
      extensions: [".tsx", ".ts", ".js"]
    },
    output: {
      filename: "bundle.js",
      path: __dirname
    }
  };
  