{"id":15416733,"url":"https://github.com/kshutkin/rollup-extras","last_synced_at":"2025-04-11T23:05:07.439Z","repository":{"id":38111030,"uuid":"434190282","full_name":"kshutkin/rollup-extras","owner":"kshutkin","description":"Collection of rollup plugins","archived":false,"fork":false,"pushed_at":"2025-03-21T11:07:13.000Z","size":2633,"stargazers_count":13,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T23:13:43.567Z","etag":null,"topics":["angularjs","assets","binify","clean","cli","copy","delete","externals","html","node","node-js","nodejs","plugin","rollup","rollup-plugin","rollupjs","serve","server","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kshutkin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-02T11:17:17.000Z","updated_at":"2024-08-06T09:50:01.000Z","dependencies_parsed_at":"2024-03-07T21:31:18.569Z","dependency_job_id":"327b3d44-02eb-4635-847b-1ec91b47c0f8","html_url":"https://github.com/kshutkin/rollup-extras","commit_stats":{"total_commits":385,"total_committers":6,"mean_commits":64.16666666666667,"dds":0.5792207792207793,"last_synced_commit":"f50490960f37ee89aff508606a2c2773ee810a71"},"previous_names":[],"tags_count":164,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshutkin%2Frollup-extras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshutkin%2Frollup-extras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshutkin%2Frollup-extras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kshutkin%2Frollup-extras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kshutkin","download_url":"https://codeload.github.com/kshutkin/rollup-extras/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245526420,"owners_count":20629834,"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":["angularjs","assets","binify","clean","cli","copy","delete","externals","html","node","node-js","nodejs","plugin","rollup","rollup-plugin","rollupjs","serve","server","typescript"],"created_at":"2024-10-01T17:13:40.152Z","updated_at":"2025-03-28T12:30:42.820Z","avatar_url":"https://github.com/kshutkin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![workflow](https://github.com/kshutkin/rollup-extras/actions/workflows/main.yml/badge.svg)\n\n# rollup-extras\nCollection of rollup plugins\n\n## Packages in this repo\n\n- [utils](./utils) - utilities for other plugins, including options and multi-output handling.\n- [plugin-clean](./plugin-clean) - lightweight, reliable cleaning of the build directory.\n- [plugin-copy](./plugin-copy) - files copying with minimalistic config, watch mode and glob support.\n- [plugin-html](./plugin-html) - asset injection into HTML files with optional minification, beautification, and more.\n- [plugin-serve](./plugin-serve) - [Koa-based](https://koajs.com/) dev-server with an extensible API.\n- [plugin-binify](./plugin-binify) - makes an output file executable with shebang and file attributes.\n- [plugin-externals](./plugin-externals) - declares external dependencies with reasonable defaults and customizable logic.\n- [plugin-angularjs-template-cache](./plugin-angularjs-template-cache) - builds AngularJS template cache.\n- [plugin-exec](./plugin-exec) - exec some code when the bundle you are building is finished.\n\n## Other places to search for plugins\n\n- [Official Rollup plugins](https://github.com/rollup/plugins)\n- [Awesome Rollup](https://github.com/rollup/awesome)\n- [Modern Web](https://modern-web.dev/docs/)\n\n## Plugins you might want to check\n\n### From `@rollup/plugin*`\n\n- [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/master/packages/node-resolve/#readme) - if you have npm packages installed you probably need this as a first plugin\n- [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/master/packages/commonjs/#readme) - and if you have at least one file in legacy commonjs format then you need this one\n- [@rollup/plugin-json](https://github.com/rollup/plugins/tree/master/packages/json/#readme) - allows to import JSON files, do not forget to use `resolveJsonModule` in `tsconfig.json` if you are using Typescript\n- [@rollup/plugin-terser](https://github.com/rollup/plugins/tree/master/packages/terser/#readme) - minifies output js files, must-have for production browser builds\n\n### Community\n\n- [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) - best to use with Typescript, slightly less effort to use comparing to official [@rollup/plugin-typescript](https://github.com/rollup/plugins/tree/master/packages/typescript/#readme), faster incremental builds\n- [rollup-plugin-preprocess](https://github.com/Katochimoto/rollup-plugin-preprocess) - despite being version 0.0.4 and not being updated for many years flawlessly preprocess files using [preprocess](https://github.com/jsoverson/preprocess) syntax, relatively safe compared to [@rollup/plugin-replace](https://github.com/rollup/plugins/blob/master/packages/replace/README.md) which is good mainly in case you don't have access to the source code of a 3-d party library but still want to replace some expression there\n- [rollup-plugin-styles](https://github.com/Anidetrix/rollup-plugin-styles) - if you want to bundle CSS/SCSS/SASS/LESS/Stylus and want to use PostCSS plugins. I recommend using it with [postcss-lightningcss](https://github.com/onigoetz/postcss-lightningcss)\n- [rollup-plugin-livereload](https://github.com/thgh/rollup-plugin-livereload) - simple livereload, I recommend always having a delay in config\n- [rollup-plugin-glob-import](https://github.com/gjbkz/rollup-plugin-glob-import) if you want to import files using a glob pattern. I would say it is antipattern and vendor-lock in most cases but sometimes it is extremely useful, especially in migrating old code bases and building component showcases.\n- [rollup-plugin-html](https://github.com/bdadam/rollup-plugin-html) - allows importing html files as strings in that rare cases when you need it. Consider using [wildcard module declarations](https://www.typescriptlang.org/docs/handbook/modules.html#wildcard-module-declarations) if you are using Typescript.\n\n## pkgbld\n\nIf you want to author a library and are happy with a relatively simple build give a chance to [pkgbld](https://github.com/kshutkin/package-build).\n\n# License\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshutkin%2Frollup-extras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkshutkin%2Frollup-extras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkshutkin%2Frollup-extras/lists"}