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