Skip to content

pantoken / vite

vite

Experimental

@pantoken/vite — a Vite plugin for pantoken.

It exposes two virtual modules so apps consume tokens without importing the large packages directly, and can auto-inject the stylesheet into the HTML entry:

  • virtual:pantoken/css — the stylesheet string (default export).
  • virtual:pantoken/tokens — the resolved token IR (tokens named + default export).

Interfaces

Functions

References

default

Renames and re-exports pantoken