mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-01 22:05:47 +00:00
31 lines
601 B
JavaScript
31 lines
601 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
name: require('./package').name,
|
|
isDevelopingAddon: () => true,
|
|
|
|
included(app) {
|
|
// eslint-disable-next-line prefer-rest-params
|
|
this._super.included.apply(this, arguments);
|
|
|
|
[
|
|
'Black',
|
|
'BlackItalic',
|
|
'Bold',
|
|
'BoldItalic',
|
|
'Italic',
|
|
'Light',
|
|
'LightItalic',
|
|
'Regular',
|
|
'Thin',
|
|
'ThinItalic'
|
|
].forEach(weight =>
|
|
['ttf'].forEach(extension =>
|
|
app.import(`vendor/fonts/Lato/Lato-${weight}.${extension}`, {
|
|
destDir: `assets/fonts/Lato`
|
|
})
|
|
)
|
|
);
|
|
}
|
|
};
|