When compiling a trivial [example|
https://github.com/bensu/node-abs-ticket] with the following script:
(require 'cljs.build.api)
(cljs.build.api/build "src"
{:main 'hello.core
:output-to "main.js"
:output-dir "/home/carlos/Playground/node-abs/out"
:target :nodejs})
It generates code that tries to resolve the following path:
/home/carlos/Playground/node-abs/home/carlos/Playground/node-abs/out/goog/bootstrap/nodejs.js
We should check if the provided path for {{:output-dir}} is absolute before resolving it in the Node.js {{:none}} shim. The shim has a related ticket in CLJS-1444.
Even if it's uncommon for users to have absolute paths, tooling might need to.