Open lishine opened 5 years ago
Is there a solution to require using absolute paths: require('utils/error') ? Here I started a discussion: https://github.com/zeit/now-builders/issues/151
Any update on that?
Imports like ~/utils (with ~) at start is popular convention to go to project root
~/utils
~
see: https://parceljs.org/module_resolution.html
I just use babel. So get rid of the require as well
Is there a solution to require using absolute paths: require('utils/error') ? Here I started a discussion: https://github.com/zeit/now-builders/issues/151