Skip to content

Check ui-kit token exports usage #294

Description

@BleedingDev

Context

  • ui-kit already exports CSS entrypoints, but apps still deep-import.

Exports (libs/ui/package.json)

  • @techsio/ui-kit/tokens -> src/tokens/tokens-only.css
  • @techsio/ui-kit/tokens-with-tailwind -> src/tokens/index.css
  • @techsio/ui-kit/tokens/* -> src/tokens/*.css

Current usage

  • apps/n1/src/tokens/index.css imports @techsio/ui-kit/src/tokens/tokens-only.css
  • apps/frontend-demo/src/tokens/index.css imports @techsio/ui-kit/src/tokens/tokens-only.css
  • Tailwind @source scans ../../node_modules/@techsio/ui-kit/dist/**/*.js

Question for @KaiUweCZE
Do the exported paths work in your environment? If not, is there a way to fix it, or should we remove exports completely?

Activity

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

Metadata

Metadata

Assignees

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