{"library":"socifi-rollup-config","title":"socifi-rollup-config","type":"library","description":"A default Rollup configuration preset for compiling JavaScript libraries, maintained by SOCIFI. Currently at version 2.2.2 (stable, no recent releases since 2019). It bundles ECMAScript 6 with Babel env preset, supports Flow Type syntax, TypeScript (since v2.0.0), and JSON files. Files are bundled separately to enable smaller bundles for non-tree-shaking bundlers like Webpack. Flow type definition files are copied to the output. It is a specialized alternative to generic Rollup setups, targeting SOCIFI's internal needs.","language":"javascript","status":"maintenance","last_verified":"Fri May 01","install":{"commands":["npm install socifi-rollup-config"],"cli":null},"imports":["import getConfig from 'socifi-rollup-config';","import getConfig from 'socifi-rollup-config';","// type imports not needed; the config is JavaScript"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/socifi/socifi-rollup-config","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/socifi-rollup-config","openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"// Install dependencies\nnpm install socifi-rollup-config rollup @babel/core @babel/preset-env rollup-plugin-babel --save-dev\n\n// rollup.config.js\nimport getConfig from 'socifi-rollup-config';\nimport path from 'path';\nimport packageJson from './package.json';\n\nexport default getConfig(packageJson, path.resolve(__dirname, 'src'), {\n    // custom options (optional)\n    custom: 'setting',\n});\n\n// Run rollup\nnpx rollup -c","lang":"javascript","description":"Shows how to install, import, and use the getConfig function to generate a Rollup configuration.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}