{"library":"rollup-plugin-manifest-json","title":"rollup-plugin-manifest-json","description":"Rollup plugin that generates a web application manifest.json file for Progressive Web Apps (PWAs). It reads an existing manifest, optionally merges overrides, minifies the output, and emits it into the Rollup build directory. Version 1.7.0 (stable, maintained). Distinguishes itself by handling both input file cloning and direct manifest object merging, with built-in minification. Requires the manifest to be a valid JSON file or object. Compared to alternatives like vite-plugin-pwa, this is a focused, zero-dependency plugin for Rollup only.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-manifest-json"],"cli":null},"imports":["import manifestJSON from 'rollup-plugin-manifest-json'","import type { ManifestOptions } from 'rollup-plugin-manifest-json'","manifestJSON({ input: 'public/manifest.json', manifest: { short_name: 'Test' } })"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import manifestJSON from 'rollup-plugin-manifest-json';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'dist',\n    format: 'esm',\n  },\n  plugins: [\n    manifestJSON({\n      input: 'public/manifest.json', // required\n      minify: true,\n      manifest: {\n        short_name: 'MyApp',\n        name: 'My Application',\n        start_url: '/',\n        display: 'standalone',\n        background_color: '#ffffff',\n        theme_color: '#000000',\n        icons: [\n          { src: 'icon-192.png', sizes: '192x192', type: 'image/png' },\n          { src: 'icon-512.png', sizes: '512x512', type: 'image/png' },\n        ],\n      },\n    }),\n  ],\n};","lang":"typescript","description":"Generates a manifest.json file for a PWA, merging custom overrides into an existing manifest.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}