DEV Community


Discussion on: A Better Way to Import Local Node.js Modules

tusharpandey13 profile image
Tushar Pandey

Btw, you can use aliasing. Ive mentioned it on one of my posts, the guide to es6 one. I don't remember it sorry lol. It lets you use ~ as project root (or some specific directory of your choice) in your import statements.