dlg-ui 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +8 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -9,14 +9,18 @@ module.exports = {
|
|
|
9
9
|
included(app) {
|
|
10
10
|
this._super.included.apply(this, arguments);
|
|
11
11
|
|
|
12
|
-
app.import('public/trophy-removebg-preview.png', {
|
|
13
|
-
destDir: 'assets',
|
|
14
|
-
});
|
|
15
|
-
|
|
16
12
|
// Concatenate all CSS files into addon.css at build time
|
|
17
13
|
this.concatCSSFiles();
|
|
18
14
|
},
|
|
19
15
|
|
|
16
|
+
treeForPublic() {
|
|
17
|
+
const publicTree = new Funnel(path.join(__dirname, 'public'), {
|
|
18
|
+
destDir: '/',
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
return publicTree;
|
|
22
|
+
},
|
|
23
|
+
|
|
20
24
|
concatCSSFiles() {
|
|
21
25
|
const stylesDir = path.join(__dirname, 'addon/styles');
|
|
22
26
|
const addonCssPath = path.join(stylesDir, 'addon.css');
|