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

Tree Shaking for templates (like CSSO for bem-xjst) #531

Open
belozer opened this issue Aug 2, 2018 · 0 comments
Open

Tree Shaking for templates (like CSSO for bem-xjst) #531

belozer opened this issue Aug 2, 2018 · 0 comments

Comments

@belozer
Copy link
Member

belozer commented Aug 2, 2018

bundle before

// lib
block('my-block').content()(() => 'base');

// common.blocks
block('my-block').content()(() => 'project-base');

// phone.blocks
block('my-block').content()(() => 'phone-base');

bundle after clean

// phone.blocks
block('my-block').content()(() => 'phone-base');

@miripiruni how realistic is that?

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

1 participant