Friday, 7 September 2018

Is it possible to require from absolute paths?

Hey,​is it somehow possible to use require on absolute paths? I noticed I have a lot of require statements, which rely on relative paths, which can change over the time.​I would like to configure the absolute paths in a config.js and would resolve the require by using these. Any ideas?

Submitted September 07, 2018 at 07:43AM by Fasyx

No comments:

Post a Comment