<commit_before>const pkg = require('./package.json');

export default {
    entry: './dist/index.js',
    dest: './dist/bundles/resource-router.umd.js',
    format: 'umd',
    moduleName: pkg.name,
    external: Object.keys(pkg.dependencies),
    globals: {
        '@angular/core': 'ng.core',
        '@angular/common': 'ng.common',
        '@angular/http': 'ng.http'
    },
    onwarn: function (message) {
        if (message.code === 'THIS_IS_UNDEFINED') return;
        console.warn(message);
    }
}<commit_msg>Fixed rollup warnings<commit_after>const pkg = require('./package.json');

export default {
    entry: './dist/index.js',
    dest: './dist/bundles/resource-router.umd.js',
    format: 'umd',
    moduleName: 'mdvorak.resourceRouter',
    external: Object.keys(pkg.dependencies).concat([
        'rxjs/add/operator/map',
        'rxjs/add/operator/switchMap'
    ]),
    globals: {
        '@angular/core': 'ng.core',
        '@angular/common': 'ng.common',
        '@angular/http': 'ng.http'
    },
    onwarn: function (message) {
        if (message.code === 'THIS_IS_UNDEFINED') return;
        console.warn(message);
    }
}
{'fraction_non_alphanumeric': 0.1799126637554585, 'fraction_numerical': 0.0, 'mean_word_length': 2.684887459807074, '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': '4845661', 'n_tokens_mistral': 384, 'n_tokens_neox': 378, 'n_words': 64}