Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract blocks/elems/mods/mixes from html #15

Open
qfox opened this issue Dec 29, 2015 · 1 comment
Open

Extract blocks/elems/mods/mixes from html #15

qfox opened this issue Dec 29, 2015 · 1 comment

Comments

@qfox
Copy link

qfox commented Dec 29, 2015

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

@voischev
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants