instead of putting it inside index.html, do the following and the variables will be available inside your app (auto added to meta).
create a .env file
var=var_value
then install dotenv
npm install dotenv
put the following at the top of the file where you want to use env variable
require('dotenv').config()
You can access it like the following
process.env.var
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…