forked from laantorchaweb/ember-cli-slick
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.js
More file actions
30 lines (26 loc) · 779 Bytes
/
index.js
File metadata and controls
30 lines (26 loc) · 779 Bytes
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
/* jshint node: true */
'use strict';
const fastbootTransform = require('fastboot-transform');
module.exports = {
name: 'ember-cli-slick',
options: {
nodeAssets: {
'slick-carousel': {
import: {
include: ['slick/slick.js', 'slick/slick.css', 'slick/slick-theme.css'],
processTree(input) {
return fastbootTransform(input);
}
},
public: {
srcDir: 'slick',
destDir: 'assets',
include: ['ajax-loader.gif', 'fonts/*']
}
}
}
},
included(app, parentAddon) {
this._super.included.apply(this, arguments);
}
};