Skip to content

Commit ae79e03

Browse files
committed
expose getSupportedTemplateExtensions
part of #625
1 parent d9ee3ae commit ae79e03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/lib/patternlab.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ var patternlab_engine = function (config) {
180180
console.log(patternlab.package.version);
181181
}
182182

183+
function getSupportedTemplateExtensions(){
184+
return patternlab.engines.getSupportedFileExtensions();
185+
}
186+
183187
function help() {
184188

185189
console.log('');
@@ -629,6 +633,9 @@ var patternlab_engine = function (config) {
629633
},
630634
installplugin: function (pluginName) {
631635
installPlugin(pluginName);
636+
},
637+
getSupportedTemplateExtensions: function () {
638+
return getSupportedTemplateExtensions();
632639
}
633640
};
634641
};

0 commit comments

Comments
 (0)