message: Fix typo preventing the detection of typescript react apps.
  The code was not handling the case when the entry point is a tsx
  file.
diff: @@ -43,8 +43,7 @@ export function addHarpWebpackConfig(config?: Configuration, harpConfig?: HarpWe
  rules: [{ test: /\.tsx?$/, loader: "ts-loader" }]
  }
  };
  - const mainConfig =
  - mainEntry !== undefined && mainEntry.endsWith(".ts")
  + const mainConfig = mainEntry?.match(/\.tsx?$/)
  ? WebpackMerge.smart(baseConfig, typescriptConfig)
  : baseConfig;
  const bundles = [
  