added more extensions to bootstrap...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-08-15 18:26:04 +03:00
parent 586eac2f4b
commit f479ed07c8
2 changed files with 2 additions and 2 deletions

View File

@ -13,11 +13,11 @@ var glob = require('glob')
var bootstrap = {}
// XXX add support for json...
glob('bootstrap/**/*.@(tpl|md)')
glob('bootstrap/**/*.@(tpl|md|css|html)')
.on('match', function(path){
var p = path
.replace('bootstrap/', '')
.replace(/.tpl|.md/, '')
.replace(/.(tpl|md|css|html)/, '')
if(p)