ember-cli-deploy / ember-cli-deploy/ember-cli-deploy-build
Wrong app environment with ember-cli-dotenv
未关闭
- 主要语言
- JavaScript
- 星标
- 23
- 派生
- 23
- PR 合并指标
- 30 天内没有已合并 PR
描述
I'm using [ember-cli-dotenv](https://github.com/fivetanley/ember-cli-dotenv) for writing my app settings for the different environments but when I run the deploy command, the build output uses always the .env-development settings file instead of reading from .env-production file.
If I run a build with the classic ember build command everything is fine.
贡献指南
调研方向
将 deploy 命令的构建路径与经典的 ember build 行为进行比较,以 ember-cli-dotenv 的环境选择作为起点。使用 .env-development 和 .env-production 重现,并确认 deploy 使用生产设置;当 deploy 像正常构建一样选择生产文件时即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- release
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100