posthtml-bem
posthtml-bem copied to clipboard
BEM-style syntax plugin for PostHTML postprocessor
Any suggestions on how to watch a directory of files for changes and post-process with posthtml-bem? Similar to node-sass watch and output files. I'm using onchange for watching but unsure...
https://github.com/rajdee/posthtml-bem/blob/master/index.js#L62 I don't see how `block` could be falsy here. A few lines before it's set to `[]` if exec returns null
block>elem>tag>elem not working: ```javascript ``` `img` tag renders as `` Still block>elem>elem>elem works (adding `elem` attribute on `img` tag solves the issue)
What about `jsx` support?
Is it possible to fetch deps data in a common [bem-decl](https://github.com/bem/bem-decl/blob/master/spec/normalize-harmony.spec.js#L325) format? To pass after as a parameters to [bem-deps](https://github.com/bem-incubator/bem-deps) to resolve a list of only needed blocks/elems/mods. p.s. Guess...