-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
30 lines (26 loc) · 837 Bytes
/
index.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
'use strict';
var path = require('path');
module.exports = {
name: 'ember-cli-identicon',
blueprintsPath: function() {
return path.join(__dirname, 'blueprints');
},
included: function (app) {
this._super.included(app);
this.app.import(app.bowerDirectory + '/jsSHA/src/sha.js');
this.app.import(app.bowerDirectory + '/identicon/pnglib.js');
this.app.import(app.bowerDirectory + '/identicon/identicon.js');
this.app.import('vendor/ember-cli-identicon/shim.js', {
type: 'vendor',
exports: {
'identicon.js': ['default']
}
});
this.app.import('vendor/ember-cli-identicon/shim.js', {
type: 'vendor',
exports: {
'jsSHA': ['default']
}
});
}
};