Is there a way to tell babel to look for preset files relative to the file that is doing the require()ing? /cc @sebmck @thejameskyle
@mjackson @thejameskyle if you have options in a `.babelrc` then they're resolved relative to that file
-
-
@sebmck@thejameskyle yep, got that. I'm getting "Couldn't find preset "es2015" relative to directory "..."" -
@sebmck@thejameskyle so: imagine i've got 2 files: a.js and b.js. a.js has the preset relative to it, but b.js doesn't. a requires b. - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 