<commit_before>// tells node to run all required files through babel
// Note: this file is not run through babel, so it cannot use all
// ES2015 syntax
require('babel-register')
require('dotenv').config()

const Env = process.env.NODE_ENV || 'development'
const DEV = Env === 'development'
const STAGING = Env === 'staging'
const PROD = Env === 'production'

const paths = require('config/paths')
const Webpack_isomorphic_tools = require('webpack-isomorphic-tools')

const project_base_path = require('path').resolve(__dirname)

global.webpack_isomorphic_tools = new Webpack_isomorphic_tools(
  require('./config/webpack/isomorphic-tools.config.js')
)

if (DEV) global.webpack_isomorphic_tools = global.webpack_isomorphic_tools.development()

global.webpack_isomorphic_tools.server(
  paths.ROOT,
  function() {
    require('js/server.js')<commit_msg>Removed deprecated development() call from webpack isomorphic tools.<commit_after>// tells node to run all required files through babel
// Note: this file is not run through babel, so it cannot use all
// ES2015 syntax
require('babel-register')
require('dotenv').config()

const paths = require('config/paths')
const Webpack_isomorphic_tools = require('webpack-isomorphic-tools')

const project_base_path = require('path').resolve(__dirname)

global.webpack_isomorphic_tools = new Webpack_isomorphic_tools(
  require('./config/webpack/isomorphic-tools.config.js')
)

global.webpack_isomorphic_tools.server(
  paths.ROOT,
  function() {
    require('js/server.js')
{'fraction_non_alphanumeric': 0.1202113606340819, 'fraction_numerical': 0.005284015852047556, 'mean_word_length': 5.733333333333333, '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': '426621', 'n_tokens_mistral': 452, 'n_tokens_neox': 437, 'n_words': 116}