<commit_before>import babel from 'rollup-plugin-babel'

const pkg = require('./package.json')
const external = Object.keys(pkg.dependencies)

export default {
  entry: 'src/index.js',
  external,
  plugins: [
    babel({
      babelrc: false,
      presets: [
        ['modern-async', {
          'fast-async': {
            compiler: {
              noRuntime: true
            }
          },
          promise: 'bluebird',
          esModules: true
        }]
      ],
      plugins: [
        'transform-runtime'
      ],
      externalHelpers: false,
      runtimeHelpers: true,
      exclude: 'node_modules/**'
    })
  ],
  targets: [{
    dest: pkg['main'],
    format: 'cjs'
  }, {
    dest: pkg['jsnext:main'],
    format: 'es'
  }]<commit_msg>chore(build): enable babel external helpers in rollup<commit_after>import babel from 'rollup-plugin-babel'

const pkg = require('./package.json')
const external = Object.keys(pkg.dependencies)

export default {
  entry: 'src/index.js',
  external,
  plugins: [
    babel({
      babelrc: false,
      presets: [
        ['modern-async', {
          'fast-async': {
            compiler: {
              noRuntime: true
            }
          },
          promise: 'bluebird',
          esModules: true
        }]
      ],
      plugins: [
        'transform-runtime'
      ],
      runtimeHelpers: true,
      exclude: 'node_modules/**'
    })
  ],
  targets: [{
    dest: pkg['main'],
    format: 'cjs'
  }, {
    dest: pkg['jsnext:main'],
    format: 'es'
  }]
{'fraction_non_alphanumeric': 0.145778364116095, 'fraction_numerical': 0.0, 'mean_word_length': 1.8355140186915888, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3988885', 'n_tokens_mistral': 484, 'n_tokens_neox': 473, 'n_words': 96}