forked from hummingbird-me/kitsu-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ember-cli-build.js
57 lines (54 loc) · 1.72 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
/* eslint-env node */
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const PostCSSFlex = require('postcss-flexbugs-fixes');
const Autoprefixer = require('autoprefixer');
module.exports = function(defaults) {
const app = new EmberApp(defaults, {
babel: {
comments: false
},
'ember-cli-babel': {
includePolyfill: true
},
sourcemaps: {
enabled: true
},
sassOptions: {
includePaths: ['bower_components/bootstrap/scss']
},
postcssOptions: {
compile: { enabled: false },
filter: {
enabled: true,
plugins: [
{ module: PostCSSFlex },
{
module: Autoprefixer,
options: { browsers: ['> 1%', 'last 2 versions'] }
}
]
}
},
// Fingerprint disabled as we aren't generating the manifest file at this time
fingerprint: {
exclude: [
'android-chrome-192x192.png',
'android-chrome-512x512.png',
'mstile-70x70.png',
'mstile-150x150.png',
'mstile-310x150.png',
'mstile-310x310.png'
]
}
});
app.import('bower_components/tether/dist/js/tether.min.js');
app.import('bower_components/bootstrap/dist/js/bootstrap.min.js');
app.import('bower_components/nouislider/distribute/nouislider.js');
app.import('bower_components/nouislider/distribute/nouislider.min.css');
app.import('bower_components/flickity/dist/flickity.min.css');
app.import('bower_components/clipboard/dist/clipboard.min.js');
app.import('bower_components/autosize/dist/autosize.min.js');
app.import('bower_components/jquery-hoverintent/jquery.hoverIntent.js');
app.import('bower_components/getstream/dist/js_min/getstream.js');
return app.toTree();
};