Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enables testing a custom Leopard build locally, or providing any other alternate Leopard library host.
The default value is the same one that is used by default in
toLeopard.ts
. It would be nice not to duplicate this definition, but unless toLeopard defined it as an export (this would probably be awkward) or stops providing a default at all, it is what it is.This option is used in both leopard and leopard-zip output formats, and ignored in other formats.
Only fully qualified URLs are supported, i.e. you can't just do
/leopard/dist
. This is to make the output folder work regardless where it's hosted (provided the specified URL is accessible there), and to avoid confusing a path on a hypothetical file server with a path on your own system.There's no magic about e.g. taking a specified path to Leopard and copying out the dist/ files at time of
sb-edit
run (to make a self-contained folder/zip). That's out of scope for this PR, and may require adjustments totoLeopard
internals (e.g. supporting relative imports there).Typical development setup 1:
Typical development setup 2: