<commit_before>/*jshint node:true*/
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function(defaults) {
  var fingerprint = false;
  var prepend = '';
  if (process.env.EMBER_ENV === 'staging') {
    fingerprint = true;
    prepend = 'http://d2tkmr00hnrtoq.cloudfront.net/';
  } else if (process.env.EMBER_ENV === 'production') {
    fingerprint = true;
    prepend = 'https://d11xhlzkgsq6oc.cloudfront.net';
  }

  var app = new EmberApp(defaults, {
    fingerprint: {
      enabled: fingerprint,
      prepend: prepend
    },
    // https://www.npmjs.com/package/ember-cli-bootstrap-sassy#bootstrap-javascript
    'ember-cli-bootstrap-sassy': {
      'js': false,
      'glyphicons': false
    },
    // https://github.com/martndemus/ember-cli-font-awesome#customize-with-sassscss
    emberCliFontAwesome: {
      useScss: true<commit_msg>standardizing asset compilation config<commit_after>/*jshint node:true*/
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function(defaults) {
  var prependUrl;
  if (EmberApp.env() === 'staging') {
    prependUrl = 'http://d2tkmr00hnrtoq.cloudfront.net/';
  } else if (EmberApp.env() === 'production') {
    prependUrl = 'https://d11xhlzkgsq6oc.cloudfront.net';
  }

  var app = new EmberApp(defaults, {
    minifyJS: {
      enabled: ['staging', 'production'.indexOf(EmberApp.env()) >= 0]
    },
    minifyCSS: {
      enabled: ['staging', 'production'.indexOf(EmberApp.env()) >= 0]
    },
    // http://ember-cli.com/user-guide/#source-maps
    sourcemaps: {
      enabled: EmberApp.env() !== 'production'
    },
    // https://github.com/aexmachina/ember-cli-sass#usage
    sassOptions: {
      sourceMap: EmberApp.env() !== 'production'
    },
    // http://ember-cli.com/user-guide/#fingerprinting-and-cdn-urls
    fingerprint: {
      enabled: ['staging', 'production'].indexOf(EmberApp.env()) >= 0,
      prepend: prependUrl
    },
    // https://www.npmjs.com/package/ember-cli-bootstrap-sassy#bootstrap-javascript
    'ember-cli-bootstrap-sassy': {
      'js': false,
      'glyphicons': false
    },
    // https://github.com/martndemus/ember-cli-font-awesome#customize-with-sassscss
    emberCliFontAwesome: {
      useScss: true
{'fraction_non_alphanumeric': 0.16826086956521738, 'fraction_numerical': 0.006521739130434782, 'mean_word_length': 3.1684782608695654, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 7, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1411704', 'n_tokens_mistral': 823, 'n_tokens_neox': 794, 'n_words': 116}