forked from qonto/ember-phone-input
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
29 lines (24 loc) · 736 Bytes
/
index.js
File metadata and controls
29 lines (24 loc) · 736 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
'use strict';
module.exports = {
name: require('./package').name,
options: {
babel: {
plugins: [require.resolve('ember-auto-import/babel-plugin')]
}
},
included(app) {
this._super.included.apply(this, app);
// images
// they get copied to destDir
app.import('node_modules/intl-tel-input/build/img/flags.png', {
destDir: 'assets/ember-phone-input/images'
});
app.import('node_modules/intl-tel-input/build/img/flags@2x.png', {
destDir: 'assets/ember-phone-input/images'
});
// intlTelInputUtils style
// it get merged into vendor.css
app.import('node_modules/intl-tel-input/build/css/intlTelInput.css');
app.import('vendor/ember-phone-input.css');
}
};