<commit_before>var webpack = require('webpack')
var path = require('path')
var autoprefixer = require('autoprefixer')

module.exports = {
    entry: './index.js',
    output: {
        path: './',
        filename: 'bundle.js',
        publicPath: ''
    },
    module: {
        preLoaders: [
            { test: /\.html$/, loader: 'riotjs' }
        ],
        loaders: [
            {
                test: /\.(jpe?g|png|gif|svg|mp4)$/i,
                loader:'file-loader'
            },
            { test: /\.less$/, loader: 'style!css!postcss!less' },
            { test: /\.js$|\.html$/, loader: 'babel', query: { presets: 'es2015-riot' } }
        ]
    },
    plugins: [
        new webpack.ProvidePlugin({
            riot: 'riot'
        }),
        new webpack.optimize.UglifyJsPlugin({warnings: false})
    ],
    postcss: function () {
        return [autoprefixer({browsers: 'last 2 versions'})];
    },
    devServer: {
        port: 7070,
        outputPath: __dirname,
        inline: false,
        progress: true,<commit_msg>Removing uglify, as it causes problems<commit_after>var webpack = require('webpack')
var path = require('path')
var autoprefixer = require('autoprefixer')

module.exports = {
    entry: './index.js',
    output: {
        path: './',
        filename: 'bundle.js',
        publicPath: ''
    },
    module: {
        preLoaders: [
            { test: /\.html$/, loader: 'riotjs' }
        ],
        loaders: [
            {
                test: /\.(jpe?g|png|gif|svg|mp4)$/i,
                loader:'file-loader'
            },
            { test: /\.less$/, loader: 'style!css!postcss!less' },
            { test: /\.js$|\.html$/, loader: 'babel', query: { presets: 'es2015-riot' } }
        ]
    },
    plugins: [
        new webpack.ProvidePlugin({
            riot: 'riot'
        })
    ],
    postcss: function () {
        return [autoprefixer({browsers: 'last 2 versions'})];
    },
    devServer: {
        port: 7070,
        outputPath: __dirname,
        inline: false,
        progress: true,
{'fraction_non_alphanumeric': 0.1678832116788321, 'fraction_numerical': 0.009732360097323601, 'mean_word_length': 1.6736020806241874, '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': '871366', 'n_tokens_mistral': 690, 'n_tokens_neox': 659, 'n_words': 125}