Steps to reproduce
doc url: https://www.farmfe.org/zh/docs/features/env
//.env.development
FARM_TITLE=HELLO
//.env.production
FARM_TITLE='HELLO WORLD'
console.log(process.env.NODE_ENV);
//out is production
console.log(process.env.FARM_TITLE);
//out is HELLO
When in build mode, environment variables remain in the development environment
Reproduce link
No response
What is actually happening?
build mode use .env.production file
System Info
Steps to reproduce
doc url: https://www.farmfe.org/zh/docs/features/env
When in build mode, environment variables remain in the development environment
Reproduce link
No response
What is actually happening?
build mode use
.env.productionfileSystem Info