{"id":22104,"library":"rollup-plugin-jsy-lite","title":"rollup-plugin-jsy-lite","description":"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.","status":"active","version":"1.7.3","language":"javascript","source_language":"en","source_url":"https://github.com/jsy-lang/rollup-plugin-jsy-lite","tags":["javascript","rollup","rollup-plugin","JSY"],"install":[{"cmd":"npm install rollup-plugin-jsy-lite","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-plugin-jsy-lite","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-plugin-jsy-lite","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency required to use the plugin","package":"rollup","optional":false},{"reason":"Core JSY parser/transpiler","package":"@jsy-lang/jsy-lite","optional":false}],"imports":[{"note":"ESM-only; use import syntax.","wrong":"const rpi_jsy = require('rollup-plugin-jsy-lite')","symbol":"default","correct":"import rpi_jsy from 'rollup-plugin-jsy-lite'"},{"note":"Named export available as 'jsy', not 'rpi_jsy'.","wrong":"import { rpi_jsy } from 'rollup-plugin-jsy-lite'","symbol":"jsy","correct":"import { jsy } from 'rollup-plugin-jsy-lite'"},{"note":"Default export is the plugin function; can be imported with any name.","wrong":"","symbol":"plugin","correct":"import plugin from 'rollup-plugin-jsy-lite'"}],"quickstart":{"code":"import rpi_jsy from 'rollup-plugin-jsy-lite';\nimport resolve from '@rollup/plugin-node-resolve';\n\nexport default {\n  input: 'src/index.jsy',\n  output: {\n    file: 'dist/index.js',\n    format: 'cjs'\n  },\n  plugins: [\n    resolve(),\n    rpi_jsy()\n  ]\n};","lang":"javascript","description":"Example Rollup configuration using rollup-plugin-jsy-lite to transpile JSY syntax with node-resolve plugin."},"warnings":[{"fix":"Replace rollup-plugin-node-resolve with @rollup/plugin-node-resolve in devDependencies and import.","message":"rollup-plugin-node-resolve is deprecated; use @rollup/plugin-node-resolve instead.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Ensure input files use .jsy extension.","message":"JSY files must have .jsy extension; otherwise plugin won't process them.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Add `rpi_jsy()` to the plugins array in rollup.config.js.","message":"Plugin must be included in Rollup plugins array; no default processing.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run `npm install -D rollup-plugin-jsy-lite`.","cause":"Package not installed or not in node_modules.","error":"Error: Cannot find module 'rollup-plugin-jsy-lite'"},{"fix":"Ensure rollup-plugin-jsy-lite is added to the plugins array and file extension is .jsy.","cause":"JSY file has syntax that is not valid JavaScript and plugin not applied.","error":"SyntaxError: Unexpected token"},{"fix":"Add a format property (e.g., 'cjs', 'es', 'umd') to output options.","cause":"Rollup configuration missing output format.","error":"Error: You must specify 'output.format'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}