A Vite plugin that transpiles DLight.js component syntax (JSX-like DSL) into standard JavaScript, enabling fast HMR and bundling for DLight applications. Current stable version 0.9.20 is in active development with weekly releases. Key differentiator: seamlessly integrates DLight's reactive UI framework with Vite's fast dev server and optimized builds. Requires DLight runtime and Babel transforms.
npm install vite-plugin-dlight-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure Vite with the DLight plugin for transpiling DLight components in your project.
Use ES import syntax or import() for dynamic import.
Replace 'files' with 'include: ["src/**/*.js"]' in plugin options.
npm install dlight --save
npm install vite-plugin-dlight-client --save-dev
Use import dlightPlugin from 'vite-plugin-dlight-client' (default import).