A Rollup plugin that transpiles JSY syntax to standard JavaScript without requiring Babel. Current stable version is 1.7.3, with a maintenance release cadence. It is part of the JSY language ecosystem, providing a lightweight alternative to Babel-based JSY transpilation by using the `@jsy-lang/jsy-lite` parser directly. Key differentiators: no Babel dependency, simple configuration, and support for multiple output formats (CJS, UMD, ESM). Suitable for projects that want to use JSY syntax with Rollup but avoid the complexity of Babel.
npm install rollup-plugin-jsy-liteVerified import paths — ran on the pinned version, not inferred.
Example Rollup configuration using rollup-plugin-jsy-lite to transpile JSY syntax with node-resolve plugin.
Replace rollup-plugin-node-resolve with @rollup/plugin-node-resolve in devDependencies and import.
Ensure input files use .jsy extension.
Add `rpi_jsy()` to the plugins array in rollup.config.js.
Run `npm install -D rollup-plugin-jsy-lite`.
Ensure rollup-plugin-jsy-lite is added to the plugins array and file extension is .jsy.
Add a format property (e.g., 'cjs', 'es', 'umd') to output options.