forked from adfinis/timed-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathember-cli-build.js
46 lines (42 loc) · 962 Bytes
/
ember-cli-build.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* global require, module */
'use strict'
let EmberApp = require('ember-cli/lib/broccoli/ember-app')
module.exports = function(defaults) {
let app = new EmberApp(defaults, {
sassOptions: {
includePaths: ['bower_components/adcssy/css'],
onlyIncluded: true
},
postcssOptions: {
compile: {
enabled: false
},
filter: {
enabled: true,
map: { inline: false },
plugins: [
{
module: require('postcss-cssnext'),
options: {
browsers: ['>1%']
}
}
]
}
},
babel: {
plugins: ['transform-decorators-legacy', 'transform-object-rest-spread']
},
'ember-cli-babel': {
includePolyfill: true
},
dotEnv: {
clientAllowedKeys: ['TIMED_REPORT_EXPORT']
},
'ember-site-tour': {
importHopscotchJS: true,
importHopscotchCSS: true
}
})
return app.toTree()
}