ES modules: A cartoon deep-dive
The problem I find with the current ES modules is a lot of statements like thisimport {thing} from '../../../thing/in/dir.js'and then if I move a file I have to change all of its imports to a different number of parent traversals. It would be really nice to be able to define a path that all imports would be relative from.I think babel has something like this using @, but I don't use babel right now.