let ConstantComponent = {};

ConstantComponent['development'] = require('./config.development').ConstantVariable;
ConstantComponent['production']  = require('./config.production').ConstantVariable;
ConstantComponent['process'] = {};

export const modifyConfig = (data, envdata) => {
    ConstantComponent[process.env.NODE_ENV] = data
    ConstantComponent['process'] = {
        env: envdata
    }
}

export default ConstantComponent