@fizmo/ember-cli-emblem
Version:
An ember-cli addon for Emblem.js templates.
19 lines (14 loc) • 456 B
JavaScript
;
var Blueprint = require('ember-cli/lib/models/blueprint');
/**
Find the non-emblem version of the blueprint to bootstrap off
*/
module.exports = function(dasherizedName, project) {
var projectPaths = project ? project.blueprintLookupPaths() : [];
projectPaths = projectPaths.filter(function(p) {
return !p.match(/ember-cli-emblem\/blueprints/);
});
return Blueprint.lookup(dasherizedName, {
paths: projectPaths
});
};