{"id":18358792,"url":"https://github.com/uppercod/rollup-prepare","last_synced_at":"2025-10-28T14:09:01.653Z","repository":{"id":65472255,"uuid":"148870021","full_name":"UpperCod/rollup-prepare","owner":"UpperCod","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-15T04:41:13.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-07T01:35:12.047Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UpperCod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-15T04:40:13.000Z","updated_at":"2018-09-15T04:41:15.000Z","dependencies_parsed_at":"2023-01-25T01:45:19.723Z","dependency_job_id":null,"html_url":"https://github.com/UpperCod/rollup-prepare","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Frollup-prepare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Frollup-prepare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Frollup-prepare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Frollup-prepare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UpperCod","download_url":"https://codeload.github.com/UpperCod/rollup-prepare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248148217,"owners_count":21055547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T22:19:26.082Z","updated_at":"2025-10-28T14:09:01.603Z","avatar_url":"https://github.com/UpperCod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rollup-prepare\n\ncreates a minimum configuration of rollup from an object, similar to the operation of [**microbundle**](https://github.com/developit/microbundle), but without intervening on the dependencies of plugins.\n\n## configuration\n```javascript\nimport pkg from \"./package.json\";\nimport prepare from \"rollup-prepare\";\n\nexport default {\n   ...prepare({\n       pkg,\n       ignore: [\"umd:es5\"],\n       globals: {\n           atomico: \"atomico\"\n       },\n       external : [\"atomico\"]\n   })\n};\n```\n\n## Specifying builds\n\n```\n\"main\": \"dist/example.js\",\n\"umd:main\": \"dist/example.umd.js\",\n\"umd:es5\": \"dist/example.es5.umd.js\",\n\"module\": \"dist/example.m.js\",\n\"source\": \"src/index.js\",\n```\n\n**umd:***, generate more than one output associated with the type of build.\n\nBy default, the name of the file will be taken for the definition of the UMD and IIFE module.\n\n### ignore\n\nIgnore properties associated with the build `main|umd|module|iife` type.\n\n### globals\n\nDefine global dependencies, these can also be defined within **package.globals**\n\n### external\n\nDefine the external dependencies, these defaults are extracted from ** package.dependencies **\n\n### logger\n\nBy default, the rollup log is ignored based on the following regular expression `/MIXED_EXPORTS|MISSING_GLOBAL_NAME|MIXED_EXPORTS/`.\nto disable this option simply define `logger: false`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuppercod%2Frollup-prepare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuppercod%2Frollup-prepare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuppercod%2Frollup-prepare/lists"}