You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have a nbb{,-logseq} script which depends on cljs files in npm packages.
I tried to bundle with -cp but get this:
$ nbb-logseq -cp node_modules/@logseq/graph-parser/src:node_modules/@logseq/db/src bundle action.cljs -o out.mjs
Error: ENOENT: no such file or directory, open 'logseq/graph_parser/cli.cljs'
...
Since the repro above depends on nbb-logseq, here's a smaller nbb-only repro using the sitefox example:
$ nbb -cp node_modules/@chr15m/sitefox/src bundle webserver.cljs -o out out.mjs
Error: ENOENT: no such file or directory, open 'sitefox/web.cljs'
...
Does -cp just need to be ported over to bundle or is this pulling on something more involved from nbb.core?
Describe the solution you'd like
To be able to bundle a cljs file that depends on cljs files in npm packages
Describe alternatives you've considered
I could copy files out of node_modules to directories where bundle expects them but that seems pretty hacky
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Hi @borkdude. I'm trying to convert https://github.com/logseq/graph-validator to use your new bundling work with a nodejs github action. Ran into this issue / feature request (not sure which). Cheers
Is your feature request related to a problem? Please describe.
I have a nbb{,-logseq} script which depends on cljs files in npm packages.
I tried to bundle with
-cp
but get this:$ nbb-logseq -cp node_modules/@logseq/graph-parser/src:node_modules/@logseq/db/src bundle action.cljs -o out.mjs Error: ENOENT: no such file or directory, open 'logseq/graph_parser/cli.cljs' ...
Since the repro above depends on nbb-logseq, here's a smaller nbb-only repro using the sitefox example:
$ nbb -cp node_modules/@chr15m/sitefox/src bundle webserver.cljs -o out out.mjs Error: ENOENT: no such file or directory, open 'sitefox/web.cljs' ...
Does -cp just need to be ported over to bundle or is this pulling on something more involved from nbb.core?
Describe the solution you'd like
To be able to bundle a cljs file that depends on cljs files in npm packages
Describe alternatives you've considered
I could copy files out of node_modules to directories where
bundle
expects them but that seems pretty hackyAdditional context
n/a
The text was updated successfully, but these errors were encountered: