Skip to content

Instantly share code, notes, and snippets.

@lukes
Created December 7, 2014 20:38
Show Gist options
  • Save lukes/bbc5ccea81b70a2c7302 to your computer and use it in GitHub Desktop.
Save lukes/bbc5ccea81b70a2c7302 to your computer and use it in GitHub Desktop.
Enable fingerprinting for all environments except development
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var app = new EmberApp({
// Custom settings for broccoli-assets-rev
// See http://www.ember-cli.com/#asset-compilation
fingerprint: {
enabled: true
}
});
if (app.env == 'development') {
app.options.fingerprint.enabled = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment