<commit_before>'use strict';

var path = require('path');
var webpack = require('webpack');
module.exports = {
    //devtool: 'source-map',
    context: path.resolve(__dirname),
    entry: [
        'webpack-hot-middleware/client?http://localhost:8080',
        'webpack/hot/only-dev-server',
        'react-hot-loader/patch'
    ],
    output: {
        filename: "app.js",
        path: path.resolve(__dirname, '../dist'),
        publicPath: '/public'
    },
    plugins: [
        new webpack.optimize.OccurenceOrderPlugin(),
        new webpack.HotModuleReplacementPlugin()
    ],

    module: {
        loaders: [{
            test: /\.jsx?$/,
            loader: 'babel-loader',
            query: {
                presets: ['es2015', 'react', 'stage-2'],
                plugins:[
                    "react-hot-loader/babel",
                    "babel-plugin-syntax-trailing-function-commas",
                    "babel-plugin-transform-class-properties",
                    "babel-plugin-transform-object-rest-spread",
                    "babel-plugin-transform-react-constant-elements"
                ]
            },
            exclude: [path.resolve('./node_modules'), path.resolve(__dirname, 'node_modules')],
            include: [path.resolve('./'), path.resolve(__dirname, '../src')]
        }, {
            test: /\.css$/,
            loader: "style-loader!css-loader"
        }, {
            test: /\.less$/,<commit_msg>Add postcss loader to webpack config<commit_after>'use strict';

var path = require('path');
var webpack = require('webpack');
module.exports = {
    //devtool: 'source-map',
    context: path.resolve(__dirname),
    entry: [
        'webpack-hot-middleware/client?http://localhost:8080',
        'webpack/hot/only-dev-server',
        'react-hot-loader/patch'
    ],
    output: {
        filename: "app.js",
        path: path.resolve(__dirname, '../dist'),
        publicPath: '/public'
    },
    plugins: [
        new webpack.optimize.OccurenceOrderPlugin(),
        new webpack.HotModuleReplacementPlugin()
    ],

    module: {
        loaders: [{
            test: /\.jsx?$/,
            loader: 'babel-loader',
            query: {
                presets: ['es2015', 'react', 'stage-2'],
                plugins:[
                    "react-hot-loader/babel",
                    "babel-plugin-syntax-trailing-function-commas",
                    "babel-plugin-transform-class-properties",
                    "babel-plugin-transform-object-rest-spread",
                    "babel-plugin-transform-react-constant-elements"
                ]
            },
            exclude: [path.resolve('./node_modules'), path.resolve(__dirname, 'node_modules')],
            include: [path.resolve('./'), path.resolve(__dirname, '../src')]
        }, {
            test: /\.css$/,
            loader: "style-loader!css-loader!postcss-loader"
        }, {
            test: /\.less$/,
{'fraction_non_alphanumeric': 0.16030013642564803, 'fraction_numerical': 0.006139154160982265, 'mean_word_length': 1.7182576459684893, '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': '1854039', 'n_tokens_mistral': 861, 'n_tokens_neox': 806, 'n_words': 126}