{"library":"rollup-plugin-banner","title":"rollup-plugin-banner","description":"Rollup plugin that appends content before the JS bundle file, preserving the banner even after minification with plugins like rollup-plugin-uglify, which Rollup's built-in output.banner does not. Version 0.2.1 is the latest stable release. Differentiates from output.banner by ensuring the banner survives all plugin transformations.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-banner"],"cli":null},"imports":["import banner from 'rollup-plugin-banner'","const banner = require('rollup-plugin-banner')","import banner from 'rollup-plugin-banner'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import banner from 'rollup-plugin-banner';\n\nexport default {\n  input: 'src/main.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'iife',\n  },\n  plugins: [\n    banner('MyApp v<%= pkg.version %> by <%= pkg.author %>')\n  ]\n};","lang":"javascript","description":"Demonstrates adding a banner to a Rollup bundle using the default export and template strings from package.json.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}