<commit_before>require('babel-register'); // eslint-disable-line import/no-extraneous-dependencies
const { isDevelopment, isTest } = require('./configuration');
const { setupNodeWebpack } = require('./node-webpack');
const configuration = require('./webpack.config');

setupNodeWebpack(Object.assign({}, configuration, { plugins: [] }));
if (isDevelopment) {
  require('./src/server').default(); // eslint-disable-line global-require
} else if (isTest) {
  require('./tests').default(); // eslint-disable-line global-require
}<commit_msg>Fix the production server<commit_after>require('babel-register'); // eslint-disable-line import/no-extraneous-dependencies
const { isTest } = require('./configuration');
const { setupNodeWebpack } = require('./node-webpack');
const configuration = require('./webpack.config');

setupNodeWebpack(Object.assign({}, configuration, { plugins: [] }));
if (!isTest) {
  require('./src/server').default(); // eslint-disable-line global-require
} else {
  require('./tests').default(); // eslint-disable-line global-require
}
{'fraction_non_alphanumeric': 0.1895734597156398, 'fraction_numerical': 0.0, 'mean_word_length': 5.4, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6084557', 'n_tokens_mistral': 292, 'n_tokens_neox': 284, 'n_words': 54}