posthtml-bem icon indicating copy to clipboard operation
posthtml-bem copied to clipboard

Extract blocks/elems/mods/mixes from html

Open qfox opened this issue 9 years ago • 1 comments

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)?

qfox avatar Dec 29 '15 23:12 qfox

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.

voischev avatar Dec 30 '15 07:12 voischev