{"library":"rollup-plugin-merge","title":"rollup-plugin-merge","description":"A Rollup plugin to merge multiple JSON files into a single JSON output during the build process. Current stable version is 0.2.1, with no recent updates and a small scope. It supports recursive merging, watching for changes, and optional pretty-printing. Unlike general-purpose merge tools, it integrates directly into Rollup's plugin system. Use with caution due to infrequent maintenance.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-merge"],"cli":null},"imports":["import merge from 'rollup-plugin-merge'","import type { MergeOptions } from 'rollup-plugin-merge'","import merge from 'rollup-plugin-merge'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import merge from 'rollup-plugin-merge';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'iife',\n    name: 'app'\n  },\n  plugins: [\n    merge({\n      input: ['src/file1.json', 'src/file2.json'],\n      output: 'dist/config.json',\n      recursive: true,\n      prettify: true,\n      watch: true\n    })\n  ]\n};","lang":"javascript","description":"Example of merging two JSON files into a single output during Rollup build with recursive merge and prettification.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}