{"id":21997,"library":"rollup-plugin-eco","title":"rollup-plugin-eco","description":"A Rollup plugin that compiles Eco templates during bundling. Version 0.1.1 is the latest release; the package appears to be in early development with no recent updates. Eco is a JavaScript template engine similar to CoffeeScript. This plugin provides a simple integration for bundling Eco templates with Rollup. There are few alternative plugins; this one is minimal and directly wraps the eco compiler. No known breaking changes or security issues reported.","status":"active","version":"0.1.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install rollup-plugin-eco","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-plugin-eco","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-plugin-eco","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"The plugin is ESM-only and does not provide a CommonJS export.","wrong":"const eco = require('rollup-plugin-eco')","symbol":"default","correct":"import eco from 'rollup-plugin-eco'"},{"note":"The plugin is exported as default, not a named export. Using curly braces will cause an undefined error.","wrong":"import { eco } from 'rollup-plugin-eco'; plugins: [eco()]","symbol":"eco (plugin)","correct":"import eco from 'rollup-plugin-eco'; plugins: [eco()]"}],"quickstart":{"code":"// rollup.config.js\nimport eco from 'rollup-plugin-eco';\n\nexport default {\n  input: 'src/main.js',\n  output: {\n    file: 'bundle.js',\n    format: 'cjs'\n  },\n  plugins: [eco()]\n};","lang":"javascript","description":"Configures Rollup to use the Eco plugin, bundling .eco template files."},"warnings":[{"fix":"Test with your Rollup version. Consider forking or using an alternative plugin if issues arise.","message":"The plugin has not been updated in several years; ensure compatibility with newer Rollup versions.","severity":"gotcha","affected_versions":">=0.1.1"},{"fix":"Consider using a more modern template engine like Handlebars or Nunjucks.","message":"Eco template engine may have performance issues with large templates; not recommended for production.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run: npm install eco","cause":"Missing dependency; eco is a peer dependency.","error":"Cannot find module 'eco'"},{"fix":"Install a compatible version: npm install eco@1.0.0","cause":"Eco package export shape mismatch; may need specific version.","error":"eco is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}