This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Hi @martinklepsch! I've just had problems with something related to http://dev.clojure.org/jira/browse/CLJS-1444
That one is meant to allow calling the scripts from a directory diferent from the compilation one as in node some/other/dir/out/your-script.js
which puts an absolute path in asset-path
, making path.join(path.resolve("."), "/an/absolute/path")
faulty
Hey @bensu :) would dirname work in that case?
@martinklepsch: No, because the absolute path needs no resolving.
@martinklepsch: @dnolen: I think the question is: are absolute paths supported in the compiler options?
@bensu: I would fix the Node.js script to check that it doesn’t have an absolute path - this must be done in a crossplatform way (i.e. Windows)
@dnolen: ok, should I open another issue? we have two problems with the same line of code.
@martinklepsch: when I have a patch I'll ping you and see if it sets the stage to solve your issue as well.
Cool, thx :thumbsup: