Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): make sure to call the super functions on treeFor methods #1048

Merged
merged 1 commit into from Apr 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 12 additions & 3 deletions index.js
Expand Up @@ -39,7 +39,10 @@ module.exports = {
destDir: "/assets/images/icons",
});

return merge([uikitAssets, uikitIcons, tree].filter(Boolean));
return this._super.treeForPublic.call(
this,
merge([uikitAssets, uikitIcons, tree].filter(Boolean))
);
},

treeForStyles(tree) {
Expand All @@ -50,7 +53,10 @@ module.exports = {
destDir: "ember-uikit",
});

return merge([uikitStyles, tree].filter(Boolean));
return this._super.treeForStyles.call(
this,
merge([uikitStyles, tree].filter(Boolean))
);
},

treeForVendor(tree) {
Expand All @@ -63,7 +69,10 @@ module.exports = {
(content) => `if (typeof FastBoot === 'undefined') { ${content} }`
);

return merge([tree, uikitScripts].filter(Boolean));
return this._super.treeForVendor.call(
this,
merge([tree, uikitScripts].filter(Boolean))
);
},

included(...args) {
Expand Down