{"library":"rollup-plugin-flow-entry","title":"rollup-plugin-flow-entry","description":"Rollup plugin that generates .js.flow files from original source for Flow type checking. Current stable version 0.3.6. Released June 2020, last updated ~2020. Creates a re-export file alongside bundled output so Flow can find un-bundled types. Key differentiator: works with Rollup code splitting and @rollup/plugin-multi-entry, supports custom source mappings for TypeScript projects.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-flow-entry"],"cli":null},"imports":["import flowEntry from 'rollup-plugin-flow-entry'","export default { plugins: [flowEntry()] }","flowEntry({ mode: 'strict-local' })"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport flowEntry from 'rollup-plugin-flow-entry';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    file: 'lib/index.js',\n    format: 'cjs'\n  },\n  plugins: [\n    flowEntry()\n  ]\n};","lang":"javascript","description":"Configure Rollup to generate a .js.flow file alongside the bundle, pointing to original Flow source.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}