{"library":"rollup-plugin-prepack","title":"rollup-plugin-prepack","description":"Rollup plugin that integrates Facebook Prepack (version 0.2.54+ peer dependency) to optimize JavaScript bundles at build time by running Prepack, a partial evaluator that produces smaller, faster code. Version 1.1.1 is the latest stable release; the project appears to be in maintenance mode with no recent commits. Key differentiator: enables ahead-of-time optimization via Prepack within the Rollup pipeline, unlike general minifiers.","language":"javascript","status":"maintenance","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-prepack"],"cli":null},"imports":["import prepack from 'rollup-plugin-prepack'","import prepack from 'rollup-plugin-prepack'","import type { PluginOptions } from 'rollup-plugin-prepack'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import prepack from 'rollup-plugin-prepack';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'dist/optimized.js',\n    format: 'cjs'\n  },\n  plugins: [\n    prepack({\n      // Optional Prepack options\n      timeout: 10000,\n      mathRandomSeed: '0'\n    })\n  ]\n};","lang":"typescript","description":"Shows how to configure and use the plugin in a Rollup config with Prepack options.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}