posthtml-bem
posthtml-bem copied to clipboard
Extract blocks/elems/mods/mixes from html
Is it possible to fetch deps data in a common bem-decl format? To pass after as a parameters to bem-deps to resolve a list of only needed blocks/elems/mods.
p.s. Guess this is wrong repo because it's based on parsed AST from posthtml... But do you mind by self about building only needed parts into the bundle files (js/css)?
It possible ;) https://github.com/rajdee/posthtml-bem/blob/master/index.js#L19-L75 Decl output from to file?
p.s. this repo about HTML only now.