{"library":"rollup-plugin-i18never","title":"rollup-plugin-i18never","description":"A Rollup plugin for automatic internationalization (i18n) using i18never. Version 1.1.16 ships TypeScript types and requires Rollup ^3.26.3 as a peer dependency. It provides zero-config extraction of translatable strings from source code, enabling build-time injection of locale dictionaries. Unlike runtime i18n libraries, this plugin statically replaces i18n function calls with translated strings at build time, eliminating runtime overhead. Designed for small to medium projects that want simple i18n without heavy frameworks. Released in 2023 with occasional maintenance updates.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install rollup-plugin-i18never"],"cli":null},"imports":["import i18never from 'rollup-plugin-i18never'","import i18never from 'rollup-plugin-i18never'\n// vite.config.js\nexport default defineConfig({ plugins: [i18never()] })","const i18never = require('rollup-plugin-i18never');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Install: npm install rollup rollup-plugin-i18never\n// rollup.config.js\nimport i18never from 'rollup-plugin-i18never';\n\nexport default {\n  input: 'src/index.js',\n  output: { dir: 'dist', format: 'es' },\n  plugins: [\n    i18never({\n      // options (optional): translations, functions, locales, etc.\n    })\n  ]\n};\n\n// src/index.js\n// Requires i18never runtime to be set up separately\nimport { t } from 'i18never';\nconsole.log(t('hello'));\n\n// Build command: npx rollup --config rollup.config.js","lang":"typescript","description":"Minimal Rollup configuration using the i18never plugin to statically replace i18n function calls with translations at build time.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}