cms/app-client/ember-cli-build.js
author ymh <ymh.work@gmail.com>
Tue, 07 Jun 2016 01:16:31 +0200
changeset 173 cf7b221238fd
parent 136 5fed7e1716c2
child 221 0bee030d7411
permissions -rw-r--r--
Work on test fixtures: - get rid both on bo and front of 2 fixtures files for documents - correct dl_fixtures to reflect this - upgrade mirage from 0.1.13 to 0.2.0 - download new version of documents fixtures including geo information

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

module.exports = function(defaults) {
    var app = new EmberApp(defaults, {
        // Add options here
        sassOptions: {
            includePaths: [
                'bower_components/bootstrap-sass/assets/stylesheets/'
            ]
        },
        fingerprint: {
            enabled: false
        }
    });

    // Use `app.import` to add additional libraries to the generated
    // output files.
    //
    // If you need to use different assets in different
    // environments, specify an object as the first parameter. That
    // object's keys should be the environment name and the values
    // should be the asset to use in that environment.
    //
    // If the library that you are including contains AMD or ES6
    // modules that you would like to import into your application
    // please specify an object with the list of modules as keys
    // along with the exports of each module as its value.
    app.import('bower_components/ammap3/ammap/ammap.js');
    app.import('bower_components/ammap3/ammap/maps/js/worldLow.js');
    app.import('bower_components/ammap3/ammap/maps/js/continentsLow.js');
    app.import('bower_components/ammap3/ammap/maps/js/france2016Low.js');
    app.import('vendor/shims/ammaps.js', {
        exports: {
            'ammaps': ['defaults']
        }
    });

    return app.toTree();
};