ember-cli-deploy / ember-cli-deploy/ember-cli-deploy-build

Change the default output path not working

未关闭
#42 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
23
派生
23
PR 合并指标
30 天内没有已合并 PR

描述

I tried to change the default output path as follows and it didn't work, the add-on put all the stuff into `tmp/deploy-dist`:
```
#deploy.js

...
if (deployTarget === 'development') {
ENV.build.environment = 'development';
ENV.build.outputPath = 'dist';
}
....
```
What am doing wrong here ? Thank you.

贡献指南

打开贡献指南

调研方向

首先跟踪 development 目标的 deploy.js 配置,以及 ENV.build.outputPath 的使用方式。复现报告中的配置,确定为什么输出仍然写入 tmp/deploy-dist,并验证实际使用的是已配置的 dist 路径。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。