G
G
GreyCat95152020-08-22 18:06:39
Node.js
GreyCat9515, 2020-08-22 18:06:39

Is it possible to use absolute path in import in es6 Node.js modules?

Is it possible to use absolute path in import in es6 Node.js modules? In the case of require, require.main.require('./absolute/path/file') is allowed. Need something similar

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question