This works
import config from './setup/config'
const {port} = config;
This gives port as undefined
import config, {port} from './setup/config'
// config.port returns a number but port alone is undefined
This is also undefined
import {port} from './setup/config'