<commit_before>var path = require( 'path' );
var webpack = require( 'webpack' );
var CompressionPlugin = require('compression-webpack-plugin');

var webpackProdConfig = {
    overrides: {
        entry: {
            app: [
                './src/app/app.js'
            ]
        }
    },

    plugins: [
        new webpack.DefinePlugin( {
            'process.env': {
                NODE_ENV: process.env.NODE_ENV || 'production'<commit_msg>add missing JSON.stringify in webpack when setting NODE_ENV<commit_after>var path = require( 'path' );
var webpack = require( 'webpack' );
var CompressionPlugin = require('compression-webpack-plugin');

var webpackProdConfig = {
    overrides: {
        entry: {
            app: [
                './src/app/app.js'
            ]
        }
    },

    plugins: [
        new webpack.DefinePlugin( {
            'process.env': {
                NODE_ENV: JSON.stringify(process.env.NODE_ENV || 'production')
{'fraction_non_alphanumeric': 0.12815126050420167, 'fraction_numerical': 0.0, 'mean_word_length': 1.941358024691358, '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': '5248938', 'n_tokens_mistral': 286, 'n_tokens_neox': 279, 'n_words': 54}