Skip to content

Instantly share code, notes, and snippets.

@Blackening999
Created June 20, 2017 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Blackening999/32369631ab027d53d44df10d4f3b9d23 to your computer and use it in GitHub Desktop.
Save Blackening999/32369631ab027d53d44df10d4f3b9d23 to your computer and use it in GitHub Desktop.
testapp/ember-cli-build.js
/*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