标签: node.js es6-modules
当前是否存在一种已知的工作方法,可以使用本机ES模块来逃避Node.js中的相对导入路径地狱,而无需使用转译器/打包器?
import foo from "<some-constant-prefix-that-I-can-use-everywhere>/foo";
node index.js
node --some-esoteric-options index.js