Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.env文件解析优化 #352

Closed
wengdongyang opened this issue Jul 7, 2023 · 1 comment
Closed

.env文件解析优化 #352

wengdongyang opened this issue Jul 7, 2023 · 1 comment

Comments

@wengdongyang
Copy link

参考vue-cli。
建议在读取.env.*等文件的时候,
1、如果没有参数“--env ????”,直接读取.env文件
2、如果有参数"--env ????",先读取.env,然后再读取.env.????,将两份文件合并后暴露

@ckken
Copy link
Contributor

ckken commented Nov 2, 2023

https://emp2.netlify.app/develop/cli.html 参考文档 应该都有

@ckken ckken closed this as completed Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants