<commit_before>import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import string from 'rollup-plugin-string';
import babel from 'rollup-plugin-babel';

let pkg = require('./package.json');

let plugins = [
    resolve(),
    commonjs({
        include: 'node_modules/**'
    }),
    string({ include: 'src/*.hbs' }),
    babel({
        babelrc: false,
        exclude: 'node_modules/**',
        presets: [
            ["latest", {
                "es2015": {
                    "modules": false
                }
            }]
        ],
        plugins: ["external-helpers"]
    })
];

export default {
    entry: './src/index.js',
    plugins: plugins,
    external: [
        'ansi-html',
        'glob',
        'gulp-util',
        'handlebars',
        'through2',
        'fs',
        'path'
    ],
    globals: {
        'ansi-html': 'ansiHTML',
        'glob': 'glob',
        'gulp-util': 'gutil',
        'handlebars': 'Handlebars',
        'through2': 'through',
        'fs': 'fs',
        'path': 'path'
    },
    targets: [
        {
            dest: pkg.main,
            format: 'cjs',
            sourceMap: true
        },
        {
            dest: pkg.module,
            format: 'es',
            sourceMap: true
        }
    ],
    exports: 'named'
};
<commit_msg>FIXED: missing replacement of gulp-util inside rollup.config.js<commit_after>import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import string from 'rollup-plugin-string';
import babel from 'rollup-plugin-babel';

let pkg = require('./package.json');

let plugins = [
    resolve(),
    commonjs({
        include: 'node_modules/**'
    }),
    string({ include: 'src/*.hbs' }),
    babel({
        babelrc: false,
        exclude: 'node_modules/**',
        presets: [
            ["latest", {
                "es2015": {
                    "modules": false
                }
            }]
        ],
        plugins: ["external-helpers"]
    })
];

export default {
    entry: './src/index.js',
    plugins: plugins,
    external: [
        'ansi-html',
        'glob',
        'plugin-error',
        'handlebars',
        'through2',
        'fs',
        'path'
    ],
    globals: {
        'ansi-html': 'ansiHTML',
        'glob': 'glob',
        'plugin-error': 'PluginError',
        'handlebars': 'Handlebars',
        'through2': 'through',
        'fs': 'fs',
        'path': 'path'
    },
    targets: [
        {
            dest: pkg.main,
            format: 'cjs',
            sourceMap: true
        },
        {
            dest: pkg.module,
            format: 'es',
            sourceMap: true
        }
    ],
    exports: 'named'
};

{'fraction_non_alphanumeric': 0.15743440233236153, 'fraction_numerical': 0.004373177842565598, 'mean_word_length': 1.5229779411764706, 'pattern_counts': {'":': 4, '<': 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': '2683842', 'n_tokens_mistral': 851, 'n_tokens_neox': 832, 'n_words': 174}