Skip to content

Runtime: deliver runtime from css-blocks core? #48

@chriseppstein

Description

@chriseppstein

This issue was originally filed by @amiller-gh against the runtime repo which has been merged into the css-blocks monorepo:

It doesn't make much sense to deliver as an independently versioned peer dependency. The rewriters will use a specific version of the runtime and that runtime will most likely be coupled to the version of css-blocks. Instead, css-blocks can:

  1. Return to the rewriters the exact arguments that must be passed into the helper, instead of raw boolean expressions.
  2. Expose the runtime in a well-defined location for rewriters to proxy up to the app they are integrated into.

This will reduce project module complexity and help to unify implementations of css-blocks across the board.

Metadata

Metadata

Assignees

No one assigned

    Labels

    @css-blocks/coreIssue with the core CSS Blocks library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions