<commit_before>/**
 * Bootstrap our server
 */
const sourceMaps = require('source-map-support')
sourceMaps.install()

require('./src/shared/console')

// Compile files on PROD or launch DEV server
if (process.env.NODE_ENV === 'production') {
    require('./configuration/webpack.prod.js')
} else {
    require('./configuration/webpack.dev.js')
}

require('isomorphic-fetch')
require('babel-register')
require('./src/shared/polyfills')
require('./src/server/server')

process.on('unhandledRejection', console.error.bind(console))
<commit_msg>Replace babel promise with bluebird promises<commit_after>/**
 * Bootstrap our server
 */
const sourceMaps = require('source-map-support')
sourceMaps.install()

require('./src/shared/console')

// Compile files on PROD or launch DEV server
if (process.env.NODE_ENV === 'production') {
    require('./configuration/webpack.prod.js')
} else {
    require('./configuration/webpack.dev.js')
}

// Ensure we're using the server babel settings
process.env.BABEL_ENV = 'server';

require('isomorphic-fetch')
require('babel-register')
require('babel-runtime/core-js/promise').default = require('bluebird')
require('./src/shared/polyfills')
require('./src/server/server')

process.on('unhandledRejection', console.error.bind(console))

{'fraction_non_alphanumeric': 0.1696921862667719, 'fraction_numerical': 0.0, 'mean_word_length': 5.155339805825243, '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': '5839395', 'n_tokens_mistral': 387, 'n_tokens_neox': 377, 'n_words': 74}