<commit_before>/*
 * This file is part of the Kreta package.
 *
 * (c) <NAME> <<EMAIL>>
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

import autoprefixer from 'autoprefixer';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import webpack from 'webpack';

import pkg from './package.json';

let buildPath = './../../../../web';
if (process.argv[4] === '--from-vendor') {
  buildPath = './../../../../../web'
}

const SOURCE_PATH = './Resources/public',
  LICENSE = `${pkg.name} - ${pkg.description}
Authors: ${pkg.authors[0].name} - ${pkg.authors[1].name}
Url: ${pkg.homepage}
License: ${pkg.license}`,
  config = {
    debug: false,
    devtool: 'eval',
    context: __dirname,
    entry: {
      app: `${SOURCE_PATH}/js/Kreta.js`,
      login: `${SOURCE_PATH}/js/Login.js`,
      vendors: [
        'backbone',
        'backbone-model-file-upload',
        'backbone.marionette',
        'classnames',
        'jquery',
        'lodash',
        'mousetrap',
        'react',
        'react-dom',
        'react-router'
      ]
    },
    output: {
      path: `${buildPath}/js`, filename: '[name].js'
    },
    module: {<commit_msg>Fixed a typo<commit_after>/*
 * This file is part of the Kreta package.
 *
 * (c) <NAME> <<EMAIL>>
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

import autoprefixer from 'autoprefixer';
import ExtractTextPlugin from 'extract-text-webpack-plugin';
import webpack from 'webpack';

import pkg from './package.json';

let buildPath = './../../../../web';
if (process.argv[4] === '--from-vendor') {
  buildPath = './../../../../../web';
}

const SOURCE_PATH = './Resources/public',
  LICENSE = `${pkg.name} - ${pkg.description}
Authors: ${pkg.authors[0].name} - ${pkg.authors[1].name}
Url: ${pkg.homepage}
License: ${pkg.license}`,
  config = {
    debug: false,
    devtool: 'eval',
    context: __dirname,
    entry: {
      app: `${SOURCE_PATH}/js/Kreta.js`,
      login: `${SOURCE_PATH}/js/Login.js`,
      vendors: [
        'backbone',
        'backbone-model-file-upload',
        'backbone.marionette',
        'classnames',
        'jquery',
        'lodash',
        'mousetrap',
        'react',
        'react-dom',
        'react-router'
      ]
    },
    output: {
      path: `${buildPath}/js`, filename: '[name].js'
    },
    module: {
{'fraction_non_alphanumeric': 0.19230769230769232, 'fraction_numerical': 0.0023790642347343376, 'mean_word_length': 2.518828451882845, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '1069624', 'n_tokens_mistral': 832, 'n_tokens_neox': 833, 'n_words': 202}