Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Wavy – use a tilde in require and import calls. Parent comment
Can I configure Webpack so that
require("app/foo")
I mean, I want a namespace prefix for my stuff, but I don't want to set the search path to ".." or whatever.
Can I configure Webpack so that
imports `foo` from my project root, even if my project root folder isn't named `app` (it's something like `src`)?I mean, I want a namespace prefix for my stuff, but I don't want to set the search path to ".." or whatever.