const rollup = require('rollup')
const babel = require('rollup-plugin-babel')

rollup
  .rollup({
    entry: 'src/index.js',
    external: id =>
      /ramda/.test(id) || ['sinon', 'fluent-arguments'].includes(id),
    plugins: [
      babel({
        presets: [['latest', { es2015: { modules: false, loose: true } }]],
        plugins: ['ramda', 'external-helpers']
      })
    ]
  })
  .then(bundle => {
    bundle.write({
      dest: 'dist/index.js',
      format: 'cjs'
    })
    bundle.write({
      dest: 'dist/index.mjs',
      format: 'es'
    })
  })

@@ -200,18 +200,22 @@
 %5D.in
-cludes(id)
+dexOf(id) %3E= 0
 ,%0A  

Make build script more compatible