Generate static build that can be deployed on Urbit #2577
+522
−317
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.
What is the purpose of the change
Adds scripts to generate static build that can be deployed on Urbit
Brief Changelog
BASEPATH
env for setting basePath innext.config.js
/apps
URL subpathBASEPATH
envENABLE_FEATURES
env flag for overriding LaunchDarkly feature flagsconcentratedLiquidity
andtokenInfo
COINGECKO_URL
env for overriding default API URL https://coingecko.osmosis.zone/COINGECKO_API_KEY
env was not workingURBIT_DEPLOYMENT
env flag to use lowercase paths for routingbuild:static
is added to generate a static buildSTATIC_EXPORT
build-urbit.sh
script to sanitize filenames with uppercase letters in the static build output[id]-eb2a5a7b0938263e.js
are also sanitized as square brackets are not supported in UrbitTesting and Verifying
Documentation and Release Note
Does this pull request introduce a new feature or user-facing behavior changes? no
How is the feature or change documented? not applicable