Babel preset for transpiling DLight.js reactive UI components in client-side code. Current version 0.9.20. Designed specifically for the DLight.js reactive framework, this Babel preset transforms JSX-like syntax and reactive expressions into JavaScript that browsers can execute. It's part of the DLight ecosystem and eliminates the need for manual configuration of Babel plugins when using DLight.js in the browser. Differentiators: purpose-built for DLight.js, handles client-specific transformations, and integrates seamlessly with the DLight toolchain. Release cadence: minor updates as DLight.js evolves.
npm install babel-preset-dlight-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows minimal Babel configuration and a simple DLight component to get started.
Use dedicated presets for server or universal environments if needed.
Upgrade to latest 0.9.x and adjust for any API changes in DLight.
Ensure @babel/core is installed and version is compatible.
Use string reference in presets array: "babel-preset-dlight-client" (no import).
Use CommonJS in Babel config (module.exports) or ensure ESM support.
Run npm install babel-preset-dlight-client and check package.json spelling.