Skip to content

fix(ui): keep enterprise tokens off the Studio Node graph #2280

Description

@kk-agent

Problem

uvai-enterprise-tokens.ts imported node:fs, pulling Node builtins into the client graph via OneLoopStudio and breaking next build for /studio.

Acceptance

  • Token CSS is inlined in uvai-enterprise-tokens.ts with no Node builtins
  • src/styles/uvai-enterprise-tokens.css remains the globals.css stylesheet
  • Unit test asserts the module stays Node-free and byte-identical to the stylesheet
  • npm --workspace=apps/web run build compiles /studio

Context

Canonical closer for PR #2201. Related historical work: #2197 / #2198 (already closed/merged).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions