0.0.21 • Published 9 years ago
multipath v0.0.21
multipath
Access your file from anywhere, built on the top of node-root.
Usage
Install via NPM: npm install multipath --save
import mp from 'multipath'
mp.set('jsx', 'src/react/component')
// now access one of your jsx file
// return '$ProjectRoot/src/react/component/header.jsx'
mp.jsx('header.jsx')
License
MIT.