Hacker News new | past | comments | ask | show | jobs | submit login

Yep, you can do this via the webpack alias config object. I personally have "root" pointing to the root directory of my app that is called app. :)



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: