I am writing an application on the reactor. Many modules have lines like
import Tools from '../../../components/Tools'; Is it possible to somehow get rid of these dots, write something like
import Tools from __dirname +'components/Tools'; // не работает That is, how to start searching for files from the root of the project?