jafa sourcemap
Generate a sourcemap.json for a project within the current Jafa workspace.
jafa sourcemap <project-name> [target-directory]
jafa sourcemap -a|--all [target-directory]
project-name— required unless-a/--allis passed. Must already exist underprojects/.-a, --all— generate a sourcemap for every project underprojects/instead of a single named one.target-directory— workspace root. Defaults to the current directory (.).
What it does
Runs rojo sourcemap on projects/<project-name>, writing the result to
sourcemap.json in the project directory.
With -a/--all, this runs for every project directory found under
projects/. If one project fails, the rest still run — failures are
reported together at the end.
build already regenerates the sourcemap as part of building,
so you only need to run this command directly if you want an up-to-date
sourcemap without doing a full build (for example, to refresh editor tooling
that reads sourcemap.json).
Examples
jafa sourcemap my-experience
jafa sourcemap --all