A Rollup plugin that ensures constructor.name remains correct after bundling Lux applications. Version 3.0.0 is the current stable release. It appends an Object.defineProperty call below each constructor that extends a Lux base class to preserve the class name, which would otherwise be lost due to Rollup's module bundling. This plugin is intended for internal use by the Lux framework and is not required for typical Lux users.
npm install rollup-plugin-luxVerified import paths — ran on the pinned version, not inferred.
Example Rollup configuration using the Lux plugin to preserve class names in bundled output.
Ensure classes that need name preservation extend from a Lux class.
Run npm install rollup-plugin-lux --save-dev
Use import luxPlugin from 'rollup-plugin-lux'
No dependency data recorded yet.