Babel preset for transpiling DLight.js reactive UI components. Current stable version 1.0.0. DLight is a reactive UI framework with a compile-to-DOM approach, optimizing runtime performance by shifting work to compile time. This preset configures Babel to transform DLight JSX syntax and must be used with babel-loader or Babel CLI. It supports TypeScript out of the box. Compared to plain Babel, it eliminates runtime overhead by compiling reactive expressions directly.
npm install babel-preset-dlightNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
No quickstart available due to missing README; refer to DLight.js documentation.
Pin to exact version and test components thoroughly.
Follow DLight changelog for migration guides.
Upgrade to @babel/core 7+.
Run: npm install babel-preset-dlight --save-dev
Use require('babel-preset-dlight') in babel.config.jsAdd 'babel-preset-dlight' to presets in Babel config.