@nexil/vite-plugin
v0.2.6
Published
High-performance compilation and dev plugin for Nexil
Readme
@nexil/vite-plugin
Official Vite plugin and resumability compiler for Nexil.
Features
- Resumability Compiler: Extracts
$dollar-suffix event handlers into standalone, lazy-loaded chunk symbols. - Store Auto-Discovery: Scans
src/storesand providesvirtual:nexil-storesand$stores/*aliases. - Budget Enforcer: Analyzes compiled bundle sizes against configured performance budgets.
- JSX Integration: Automatically configures JSX transform for
nexil.
Usage
// vite.config.ts
import { defineConfig } from 'vite'
import { nexilPlugin } from '@nexil/vite-plugin'
export default defineConfig({
plugins: [nexilPlugin()],
})License
MIT
