1 /*jshint node:true*/ |
1 /*jshint node:true*/ |
2 /* global require, module */ |
2 /* global require, module */ |
3 var EmberApp = require('ember-cli/lib/broccoli/ember-app'); |
3 var EmberApp = require('ember-cli/lib/broccoli/ember-app'); |
4 |
4 |
5 module.exports = function(defaults) { |
5 module.exports = function(defaults) { |
6 var app = new EmberApp(defaults, { |
6 var app = new EmberApp(defaults, { |
7 // Add options here |
7 // Add options here |
8 sassOptions: { |
8 sassOptions: { |
9 includePaths: [ |
9 includePaths: [ |
10 'bower_components/bootstrap-sass/assets/stylesheets/' |
10 'bower_components/bootstrap-sass/assets/stylesheets/' |
11 ] |
11 ] |
12 }, |
12 }, |
13 fingerprint: { |
13 fingerprint: { |
14 enabled: false |
14 enabled: false |
15 } |
15 } |
16 }); |
16 }); |
17 |
17 |
18 // Use `app.import` to add additional libraries to the generated |
18 // Use `app.import` to add additional libraries to the generated |
19 // output files. |
19 // output files. |
20 // |
20 // |
21 // If you need to use different assets in different |
21 // If you need to use different assets in different |
22 // environments, specify an object as the first parameter. That |
22 // environments, specify an object as the first parameter. That |
23 // object's keys should be the environment name and the values |
23 // object's keys should be the environment name and the values |
24 // should be the asset to use in that environment. |
24 // should be the asset to use in that environment. |
25 // |
25 // |
26 // If the library that you are including contains AMD or ES6 |
26 // If the library that you are including contains AMD or ES6 |
27 // modules that you would like to import into your application |
27 // modules that you would like to import into your application |
28 // please specify an object with the list of modules as keys |
28 // please specify an object with the list of modules as keys |
29 // along with the exports of each module as its value. |
29 // along with the exports of each module as its value. |
30 app.import('bower_components/ammap3/ammap/ammap.js'); |
30 app.import('bower_components/ammap3/ammap/ammap.js'); |
31 app.import('bower_components/ammap3/ammap/maps/js/worldLow.js'); |
31 app.import('bower_components/ammap3/ammap/maps/js/worldLow.js'); |
32 app.import('bower_components/ammap3/ammap/maps/js/continentsLow.js'); |
32 app.import('bower_components/ammap3/ammap/maps/js/continentsLow.js'); |
33 app.import('bower_components/ammap3/ammap/maps/js/france2016Low.js'); |
33 app.import('bower_components/ammap3/ammap/maps/js/france2016Low.js'); |
34 app.import('vendor/shims/ammaps.js', { |
34 app.import('vendor/shims/ammaps.js', { |
35 exports: { |
35 exports: { |
36 'ammaps': ['defaults'] |
36 'ammaps': ['defaults'] |
37 } |
37 } |
38 }); |
38 }); |
39 |
39 |
40 return app.toTree(); |
40 return app.toTree(); |
41 }; |
41 }; |