-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
I am not sure if this is a bug or a feature request.
nbb v1.3.196
Ubuntu 22.04
Node v20.17.0
If you run nbb bundle printme.cljs -o printme.mjs and run the resulting script with node printme.mjs, any reference to nbb.core/*file* doesn't survive.
(ns printme
(:require [nbb.core :refer [*file*]]))
(print *file*)npx nbb bundle printme.cljs -o printme.mjs
npx nbb printme.cljs # outputs the path to the script
node printme.mjs # outputs nilI expected *file* to be the .mjs script's location.
I can hack around this for now of course but I thought I'd file it just in case.
Metadata
Metadata
Assignees
Labels
No labels