import path from 'path' ; const root = process . cwd ( ) ; function resolvePath ( ... relativePath ) { return path . resolve ( root , ... relativePath ) ; } const components = resolvePath ( './components' ) ; const icon = resolvePath ( './icon' ) ; const iconSvgs = resolvePath ( './icon/_svgs' ) ; const iconComponents = resolvePath ( './components/icon' ) ; export default { resolvePath , root , icon , iconSvgs , iconComponents , components , } ;