<commit_before>const resolve = require( 'rollup-plugin-node-resolve' );
const commonjs = require( 'rollup-plugin-commonjs' );
const builtins = require( 'rollup-plugin-node-builtins' );
const globals = require( 'rollup-plugin-node-globals' );
const alias = require( 'rollup-plugin-alias' );
const buildFiles = require( './buildFiles' );
const path = require( 'path' );
const pkg = require( './package' );

const aliases = Object.entries( pkg.browser ).reduce( ( arr, cur ) => {
    arr.push( {
        find: cur[ 0 ],
        replace: path.join( __dirname, cur[ 1 ] )
    } );
    return arr;
}, [] );

const plugins = [
    alias( aliases ),<commit_msg>fixed: rollup-plugin-alias module has again changed and broke our builds, https://github.com/OpenClinica/enketo-express-oc/issues/254<commit_after>const resolve = require( 'rollup-plugin-node-resolve' );
const commonjs = require( 'rollup-plugin-commonjs' );
const builtins = require( 'rollup-plugin-node-builtins' );
const globals = require( 'rollup-plugin-node-globals' );
const alias = require( 'rollup-plugin-alias' );
const buildFiles = require( './buildFiles' );
const path = require( 'path' );
const pkg = require( './package' );

const aliases = Object.entries( pkg.browser ).reduce( ( arr, cur ) => {
    arr.push( {
        find: cur[ 0 ],
        replacement: path.join( __dirname, cur[ 1 ] )
    } );
    return arr;
}, [] );

const plugins = [
    alias( {
        entries: aliases
    } ),
{'fraction_non_alphanumeric': 0.16288659793814433, 'fraction_numerical': 0.004810996563573883, 'mean_word_length': 3.5358255451713396, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '61579', 'n_tokens_mistral': 469, 'n_tokens_neox': 459, 'n_words': 119}