<commit_before>module.exports = (api) => {
  api.cache.using(() => process.env.NODE_ENV);
  const isDevelopment = api.env("development");
  const plugins = [];

  if (isDevelopment) {
    plugins.concat("react-refresh/babel");
  }

  return {
    presets: [
      "@babel/env",
      ["@babel/preset-react", { runtime: "automatic" }],
      "@babel/preset-typescript",
    ],
    plugins,
  };
};<commit_msg>Update babel config.<commit_after>module.exports = (api) => {
  api.cache.using(() => process.env.NODE_ENV);

  return {
    presets: [
      "@babel/env",
      ['@babel/preset-react', {development: !api.env('production'), runtime: 'automatic'}],
      "@babel/preset-typescript",
    ]
  };
};
{'fraction_non_alphanumeric': 0.2019914651493599, 'fraction_numerical': 0.0, 'mean_word_length': 3.1904761904761907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7080543', 'n_tokens_mistral': 255, 'n_tokens_neox': 238, 'n_words': 35}