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

[Taro3 RC.0]增加env配置config模式存在问题 #6441

Closed
AvanckYoung opened this issue May 22, 2020 · 1 comment
Closed

[Taro3 RC.0]增加env配置config模式存在问题 #6441

AvanckYoung opened this issue May 22, 2020 · 1 comment
Assignees
Milestone

Comments

@AvanckYoung
Copy link

问题描述

增加env配置 RC.0 版本 process.env.NODE_ENV 都为production

在taro3 beta.5 版本行为正常

复现步骤

image

image

期望行为

增加 --env 配置能正常识别

报错信息

系统信息

Taro CLI 3.0.0-rc.0 environment info:
System:
OS: Windows 10
Binaries:
Node: 14.1.0 - D:\APP\NVM\node\node.EXE
Yarn: 1.22.4 - D:\APP\NVM\npm\yarn.CMD
npm: 6.14.4 - D:\APP\NVM\node\npm.CMD

@ksbaozi
Copy link

ksbaozi commented Jun 23, 2020

请问有遇到在 config 中增加新的 env 配置后,build 完无法启动么?

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

5 participants