Open nicothin opened 7 years ago
Well, it should be possible to pass opts into the function inside pipe:
.pipe(bemhtml({ HERE }))
It's the place where we creating transform stream with bemxjst.bemhtml.compile inside. Here: https://github.com/gulp-bem/gulp-bem-xjst/blob/master/index.js#L49
Tell me please, how can I transfer the settings in bem-xjst? My gulpfile:
I tried:
But I'm getting an error in the terminal:
TypeError: bemxjst.bemhtml.compile is not a function