Skip to content

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

Open
@belozer

Description

@belozer

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions