<commit_before>module.exports = api => {
  api.cache(() => process.env.NODE_ENV);

  if (process.env.GATSBY === 'true') {
    return {
      presets: ['@babel/preset-env', 'babel-preset-gatsby'],
    };
  }
  return {
    presets: [
      [
        '@babel/preset-env',
        {
          loose: true,
          modules: false,
        },
      ],
      '@babel/preset-react',
      {
        plugins: [
          "@babel/plugin-proposal-class-properties"
        ]
      }
    ]
  };
};<commit_msg>chore: update bablerc, package.json, and webpack.config.js.<commit_after>module.exports = api => {
  api.cache(() => process.env.NODE_ENV);

  if (process.env.GATSBY === 'true') {
    return {
      presets: ['@babel/preset-env', 'babel-preset-gatsby'],
    };
  }
  return {
    presets: [
      [
        '@babel/preset-env',
        {
          loose: true,
          modules: false,
        },
      ],
      '@babel/preset-react'
    ]
  };
};
{'fraction_non_alphanumeric': 0.17932489451476794, 'fraction_numerical': 0.0, 'mean_word_length': 1.7270114942528736, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4683562', 'n_tokens_mistral': 344, 'n_tokens_neox': 337, 'n_words': 45}