Skip to content

Which environment variables do we want to expose in configuration? #2231

Discussion options

You must be logged in to vote

Finalised list of configuration options we want to expose via a configuration file:

Variable Description
USE_MODULAR_ESBUILD Use esbuild instead of Webpack
EXTERNAL_CDN_TEMPLATE URL template to query a CDN
PUBLIC_URL Force assets to be referenced verbatim to the url you provide
EXTERNAL_BLOCK_LIST Specifies which dependencies are allowed to be rewritten to the CDN. Default is none. Discourage use
EXTERNAL_ALLOW_LIST Specifies which dependencies are not allowed to be rewritten to the CDN. Default is all. Discourage use
GENERATE_SOURCEMAP Source maps are resource heavy and can cause out of memory issue for large source files. We need to make it configurable everywhere we cu…

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@AlbertoBrusa
Comment options

@cristiano-belloni
Comment options

Comment options

You must be logged in to vote
2 replies
@AlbertoBrusa
Comment options

@AlbertoBrusa
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cristiano-belloni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants