Created
June 20, 2017 11:45
-
-
Save Blackening999/32369631ab027d53d44df10d4f3b9d23 to your computer and use it in GitHub Desktop.
testapp/ember-cli-build.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jshint node:true*/ | |
/* global require, module */ | |
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); | |
var config = require('./config/environment')(process.env.EMBER_ENV); | |
var fingerprintConfig = process.env.EMBER_ENV === 'development' ? {enabled: false} : {enabled: true,prepend: config.s3BuildEndpoint}; | |
module.exports = function(defaults) { | |
var app = new EmberApp(defaults, { | |
fingerprint: fingerprintConfig | |
}); | |
return app.toTree(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment