We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53f8dfb + e45379e commit b7b21bfCopy full SHA for b7b21bf
1 file changed
ember-cli-build.js
@@ -10,12 +10,13 @@ module.exports = function(defaults) {
10
var fs = require('fs');
11
12
var env = EmberApp.env();
13
+ var deployTarget = process.env.DEPLOY_TARGET;
14
var isProductionLikeBuild = ['production', 'staging'].indexOf(env) > -1;
15
var isFastboot = process.env.EMBER_CLI_FASTBOOT;
16
var prepend = null;
17
18
if(isProductionLikeBuild) {
- prepend = env === 'production' ? (process.env.TWIDDLE_ASSET_HOST || '//assets.ember-twiddle.com/') : '//canary-assets.ember-twiddle.com/';
19
+ prepend = deployTarget === 'production' ? (process.env.TWIDDLE_ASSET_HOST || '//assets.ember-twiddle.com/') : '//canary-assets.ember-twiddle.com/';
20
}
21
22
var blueprintsCode = getEmberCLIBlueprints();
0 commit comments