Skip to content

Vite Plugin

Install

bash
pnpm add -D @stylex-exnted/core  @stylex-extend/vite
bash
yarn add -D @stylex-exnted/core  @stylex-extend/vite
bash
npm install -D @stylex-exnted/core  @stylex-extend/vite

Install the plugin:

ts
// vite.config.ts
import { stylex } from '@stylex-extend/vite'
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [
    stylex()
  ]
})

Released under the MIT License.