if (process.env.NODE_ENV === 'production') {
    // disable console in production mode
    if (!window.console) {
        window.console = { error: function() {} };
    }
    const console = window.console;
    console.log = console.info = console.warn = console.timeEnd = console.time = console.group = console.groupEnd = function() {};
    // keep console.error to make them visible in prod too
} else {
    // eslint-disable-next-line no-console
    console.log('* dev mode, console is enabled.');
}

import { init } from './configuration';

init();
