MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / treeForStyles

Function treeForStyles

lib/models/addon.js:833–842  ·  view source on GitHub ↗

Returns the tree for all style files @public @method treeForStyles @param {Tree} tree The tree to process, usually `app/styles/` in the addon. @return {Tree} The return tree has the same contents as the input tree, but is moved so that the `app/styles/` path is preserved.

(tree)

Source from the content-addressed store, hash-verified

831 @return {Tree} The return tree has the same contents as the input tree, but is moved so that the `app/styles/` path is preserved.
832 */
833 treeForStyles(tree) {
834 if (!tree) {
835 return tree;
836 }
837
838 return new Funnel(tree, {
839 destDir: 'app/styles',
840 annotation: `Addon#treeForStyles (${this.name})`,
841 });
842 },
843
844 /**
845 Returns the tree for all vendor files

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…