A Vite plugin that transpiles DLight.js components at build time. Current stable version: 0.6.1. This plugin is a core part of the DLight.js ecosystem, providing the necessary compilation step for DLight's JSX-like syntax. It integrates with Vite's build pipeline to transform .dlight files into JavaScript. Release cadence is sporadic, tied to DLight.js updates. Key differentiator: it enables the use of DLight.js with Vite, which is faster and more modern than webpack-based alternatives.
npm install vite-plugin-dlight-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to add the DLight transpiler plugin to a Vite configuration file (vite.config.js).
Update import to default import: import dlightTranspiler from 'vite-plugin-dlight-transpiler'
Use new options shape: { include: string[], exclude: string[], ... }Add the plugin as the first element in the plugins array.
Run: npm install vite-plugin-dlight-transpiler
Change import statement to: import dlightTranspiler from 'vite-plugin-dlight-transpiler'
Check the available options (include, exclude) and correct the configuration.