ClojureScript

Require CommonJS modules directly from a ClojureScript namespace

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: Next
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code

Activity

Hide
Andrea Richiardi added a comment -

I will comment again after I'll try the patch, but this is very good stuff. One thing I was pondering about is the name of the option. It could be more generic, for instance :js-deps, so that we kind of abstract from the package manager. I know I know everybody knows what npm is...Anyways, my two cents.

Show
Andrea Richiardi added a comment - I will comment again after I'll try the patch, but this is very good stuff. One thing I was pondering about is the name of the option. It could be more generic, for instance :js-deps, so that we kind of abstract from the package manager. I know I know everybody knows what npm is...Anyways, my two cents.
Hide
Andrea Richiardi added a comment - - edited

Ok I tried the new patch and I detected that it basically throws (sorry it is a bit verbose):

Error: Cannot find module '/home/arichiardi/git/rest-resources-viz/home/arichiardi/.boot/cache/tmp/glu/-d8mh6z/main.out/cljs$node_modules.js' from '/home/arichiardi/git/rest-resources-viz'

But it looks like the file is there, and if I escape the $ with a \$, the file can be read

Show
Andrea Richiardi added a comment - - edited Ok I tried the new patch and I detected that it basically throws (sorry it is a bit verbose):
Error: Cannot find module '/home/arichiardi/git/rest-resources-viz/home/arichiardi/.boot/cache/tmp/glu/-d8mh6z/main.out/cljs$node_modules.js' from '/home/arichiardi/git/rest-resources-viz'
But it looks like the file is there, and if I escape the $ with a \$, the file can be read

People

Vote (3)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved: