Skip to content

Commit

Permalink
expose getSupportedTemplateExtensions
Browse files Browse the repository at this point in the history
part of #625
  • Loading branch information
bmuenzenmeyer committed Mar 2, 2017
1 parent d9ee3ae commit ae79e03
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/lib/patternlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ var patternlab_engine = function (config) {
console.log(patternlab.package.version);
}

function getSupportedTemplateExtensions(){
return patternlab.engines.getSupportedFileExtensions();
}

function help() {

console.log('');
Expand Down Expand Up @@ -629,6 +633,9 @@ var patternlab_engine = function (config) {
},
installplugin: function (pluginName) {
installPlugin(pluginName);
},
getSupportedTemplateExtensions: function () {
return getSupportedTemplateExtensions();
}
};
};
Expand Down

0 comments on commit ae79e03

Please sign in to comment.