Skip to content

Using environment variables inside template.html (index.html) #2395

Answered by 9aoy
goamn asked this question in Q&A
Discussion options

You must be logged in to vote

@goamn In rsbuild, process.env cannot be available in html template by default, but you can define some parameters via html.templateParameters.

Replies: 1 comment 2 replies

Comment options

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

@9aoy
Comment options

9aoy May 21, 2024
Maintainer

Answer selected by goamn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants