Skip to content

pantoken-root / vite

vite ​

Compatibility ​

Target: Vite. Minimum host version: 8.0.0. Tested through 8.3.2. Newer releases require review.

Full compatibility matrix

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